forked from shahibuzzaman/covid19-tracker-reactJS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLive.scss
More file actions
62 lines (61 loc) · 1.26 KB
/
Copy pathLive.scss
File metadata and controls
62 lines (61 loc) · 1.26 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
60
61
62
.livenow {
width: 30px;
padding: 10px 40px 12px 40px;
margin: 0 auto;
display: inline-block;
}
.livenow > div {
vertical-align: middle;
width: 18px;
height: 18px;
border-radius: 100%;
position: absolute;
margin: 0 auto;
border: 3px solid rgba(240, 0, 0, 1);
-webkit-animation: live 1.4s infinite ease-in-out;
animation: live 1.4s infinite ease-in-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
&:nth-child(1) {
background-color: rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 1);
-webkit-animation-delay: -0.1s;
animation-delay: -0.1s;
}
&:nth-child(2) {
-webkit-animation-delay: 0.16s;
animation-delay: 0.16s;
}
&:nth-child(3) {
-webkit-animation-delay: 0.42s;
animation-delay: 0.42s;
border: 3px solid rgba(255, 255, 255, 0.5);
}
&:nth-child(4) {
border: 3px solid rgba(255, 255, 255, 1);
-webkit-animation-delay: -0.42s;
animation-delay: -0.42s;
}
}
@-webkit-keyframes live {
0%,
80%,
100% {
-webkit-transform: scale(0.6);
}
40% {
-webkit-transform: scale(1);
}
}
@keyframes live {
0%,
80%,
100% {
transform: scale(0.6);
-webkit-transform: scale(0.6);
}
40% {
transform: scale(1);
-webkit-transform: scale(1);
}
}