-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect44.module.css
More file actions
63 lines (54 loc) · 860 Bytes
/
Copy pathrect44.module.css
File metadata and controls
63 lines (54 loc) · 860 Bytes
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
.loader {
position: relative;
width: 48px;
height: 48px;
}
.loader:before {
content: "";
background: #FF3D00;
position: absolute;
height: 24px;
width: 0;
left: 50%;
transform: translateX(-50%);
top: 0px;
animation: splitX 1s linear infinite alternate;
}
.loader:after {
content: '';
width: 48px;
height: 24px;
background: #fff;
position: absolute;
left: 0;
bottom: 0;
animation: moveY 1s linear infinite alternate;
}
@keyframes splitX {
0% {
width: 0;
transform: translate(-50%, 0)
}
33% {
width: 100%;
transform: translate(-50%, 0)
}
66% {
width: 100%;
transform: translate(-50%, 24px)
}
100% {
width: 0;
transform: translate(-50%, 24px)
}
}
@keyframes moveY {
0%,
33% {
transform: translateY(0)
}
66%,
100% {
transform: translateY(-24px)
}
}