-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
49 lines (46 loc) · 1013 Bytes
/
styles.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
.live-icon {
display: inline-block;
position: relative;
top: calc(50% - 0);
background-color: red;
width: 10px;
height: 10px;
margin-right: 8px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
z-index: 1;
}
.live-icon:before {
content: '';
display: block;
position: absolute;
background-color: rgba(255, 0, 0, 0.6);
width: 100%;
height: 100%;
border-radius: 50%;
-webkit-animation: live 2s ease-in-out infinite;
animation: live 2s ease-in-out infinite;
z-index: -1;
}
@-webkit-keyframes live {
0% {
-webkit-transform: scale(1, 1);
transform: scale(1, 1);
}
100% {
-webkit-transform: scale(3.5, 3.5);
transform: scale(3.5, 3.5);
background-color: rgba(255, 0, 0, 0);
}
}
@keyframes live {
0% {
-webkit-transform: scale(1, 1);
transform: scale(1, 1);
}
100% {
-webkit-transform: scale(3.5, 3.5);
transform: scale(3.5, 3.5);
background-color: rgba(255, 0, 0, 0);
}
}