-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPart4.css
More file actions
105 lines (86 loc) · 1.5 KB
/
Part4.css
File metadata and controls
105 lines (86 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#Chai{
height: 200px;
width: 200px;
background-color: rgba(255, 0, 0, 1);
}
#Sneha{
height: 200px;
width: 200px;
background-color: #ffa511;
opacity: 1;
}
#Aman{
height: 200px;
width: 200px;
background-color: grey;
transition-duration: 1s;
transition-delay: 1s;
}
#Aman:hover{
background-color: palevioletred;
border-radius: 50%;
}
#Chhiki{
height: 100px;
width: 100px;
background-color: green;
margin: 0 auto;/** This is a short cut for moving the element in the Center**/
margin-top: 10px;
transition: margin-top 2s ease-in 0.2s;
}
#Chhiki:hover{
margin-top: 400px;
background-color: pink;
}
section{
margin-top: 100px;
}
div{
width: 200px;
height: 50px;
text-align: center;
background-color: #7aad74;
border: 2px solid black;
margin: 5px;
}
div:nth-of-type(2n){
background-color: #f7db6a;
}
div:nth-of-type(3n){
background-color: #ebb02d;
}
/* transform */
#one{
transform: rotate(45deg);
}
#two{
transform: scale(0.5);
}
#three{
transform: translate(50px,50px);
}
#four{
transform: skew(30deg);
}
#five{
transform: rotate(45deg) translateX(200px);
}
#Kanha{
width: 200px;
height: 50px;
text-align: center;
background-color: #7aad74;
border: 2px solid black;
margin: 10px auto;
box-shadow: 2px 2px 2px black;
transition: 1s;
}
#Kanha:hover{
box-shadow: 4px 4px 2px black
}
a{
margin-left: 1370px;
}
#nya{
margin-left: 1320px;
}