-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathrect48.module.css
More file actions
52 lines (47 loc) · 836 Bytes
/
Copy pathrect48.module.css
File metadata and controls
52 lines (47 loc) · 836 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
.loader {
width: 16px;
height: 16px;
box-shadow: 0 30px, 0 -30px;
border-radius: 4px;
background: currentColor;
display: block;
margin: -50px auto 0;
position: relative;
color: #FFF;
transform: translateY(30px);
box-sizing: border-box;
animation: animloader 2s ease infinite;
}
.loader::after,
.loader::before {
content: '';
box-sizing: border-box;
width: 16px;
height: 16px;
box-shadow: 0 30px, 0 -30px;
border-radius: 4px;
background: currentColor;
color: #FFF;
position: absolute;
left: 30px;
top: 0;
animation: animloader 2s 0.2s ease infinite;
}
.loader::before {
animation-delay: 0.4s;
left: 60px;
}
@keyframes animloader {
0% {
top: 0;
color: white;
}
50% {
top: 30px;
color: rgba(255, 255, 255, 0.2);
}
100% {
top: 0;
color: white;
}
}