forked from Nutlope/twitterbio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloading-dots.module.css
69 lines (59 loc) · 1 KB
/
loading-dots.module.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
69
.loading {
display: inline-flex;
align-items: center;
}
.loading .spacer {
margin-right: 2px;
}
.loading span {
animation-name: blink;
animation-duration: 1.4s;
animation-iteration-count: infinite;
animation-fill-mode: both;
width: 5px;
height: 5px;
border-radius: 50%;
display: inline-block;
margin: 0 1px;
}
.loading span:nth-of-type(2) {
animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
animation-delay: 0.4s;
}
.loading2 {
display: inline-flex;
align-items: center;
}
.loading2 .spacer {
margin-right: 2px;
}
.loading2 span {
animation-name: blink;
animation-duration: 1.4s;
animation-iteration-count: infinite;
animation-fill-mode: both;
width: 4px;
height: 4px;
border-radius: 50%;
display: inline-block;
margin: 0 1px;
}
.loading2 span:nth-of-type(2) {
animation-delay: 0.2s;
}
.loading2 span:nth-of-type(3) {
animation-delay: 0.4s;
}
@keyframes blink {
0% {
opacity: 0.2;
}
20% {
opacity: 1;
}
100% {
opacity: 0.2;
}
}