-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect20.module.css
More file actions
59 lines (56 loc) · 1.13 KB
/
Copy pathrect20.module.css
File metadata and controls
59 lines (56 loc) · 1.13 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
.loader {
animation: rotate 1s infinite;
height: 50px;
width: 50px;
}
.loader:before,
.loader:after {
content: "";
display: block;
height: 20px;
width: 20px;
}
.loader:before {
animation: box1 1s infinite;
background-color: #fff;
box-shadow: 30px 0 0 #ff3d00;
margin-bottom: 10px;
}
.loader:after {
animation: box2 1s infinite;
background-color: #ff3d00;
box-shadow: 30px 0 0 #fff;
}
@keyframes rotate {
0% { transform: rotate(0deg) scale(0.8) }
50% { transform: rotate(360deg) scale(1.2) }
100% { transform: rotate(720deg) scale(0.8) }
}
@keyframes box1 {
0% {
box-shadow: 30px 0 0 #ff3d00;
}
50% {
box-shadow: 0 0 0 #ff3d00;
margin-bottom: 0;
transform: translate(15px, 15px);
}
100% {
box-shadow: 30px 0 0 #ff3d00;
margin-bottom: 10px;
}
}
@keyframes box2 {
0% {
box-shadow: 30px 0 0 #fff;
}
50% {
box-shadow: 0 0 0 #fff;
margin-top: -20px;
transform: translate(15px, 15px);
}
100% {
box-shadow: 30px 0 0 #fff;
margin-top: 0;
}
}