-
Notifications
You must be signed in to change notification settings - Fork 0
/
drop.css
68 lines (65 loc) · 1.03 KB
/
drop.css
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
.translate{
width: 500px;
font-size: 50px;
transform: translate(50px,100px);
}
.rotate
{
width: 50px;
font-size: 50px;
transform: rotate(100deg);
}
.scale
{
width: 50px;
font-size: 50px;
transform: scale(2,0.5);
}
.skew
{
width: 50px;
font-size: 50px;
transform: skew(50deg);
}
.rotateZ
{
width: 50px;
font-size: 50px;
transform: rotateZ(200deg);
}
.trans
{
display: inline-block;
transition: transform 3s, font-size 2s, background-color 3s,color 2s;
}
.trans:hover
{
cursor: pointer;
transform:scale(2,2);
transform: rotate(-360deg);
color: red ;
background-color: chartreuse;
font-size: 30px;
box-shadow: 5px 10px 8px #000;
}
.changcolor
{
width: 100px;
height: 100px;
background-color: red;
animation-name: example;
animation-duration: 4s;
animation-delay: 2s;
animation-iteration-count: infinite;
visibility: visible;
}
@keyframes example {
from
{
background-color: red;
}
to
{
background-color: yellow;
}
}