-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRT.css
66 lines (62 loc) · 1.3 KB
/
RT.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
button {
outline:none;
}
.center-fit {
margin:auto;
max-height:45%;
max-width:60%;
}
.Rec{
width: 35px;
height: 35px;
font-size: 0;
background-color: red;
border: 0;
border-radius: 35px;
margin: 18px;
outline: none;
animation-name: pulse;
animation-duration: 1.5s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes pulse{
0%{
box-shadow: 0px 0px 5px 0px rgba(173,0,0,.3);
}
65%{
box-shadow: 0px 0px 5px 13px rgba(173,0,0,.3);
}
90%{
box-shadow: 0px 0px 5px 13px rgba(173,0,0,0);
}
}
.progressbar {
width: 70%;
margin: 25px auto;
border: solid 1px #000;
}
.progressbar .inner {
height: 15px;
animation: progressbar-countdown;
/* Placeholder, this will be updated using javascript */
animation-duration: 40s;
/* We stop in the end */
animation-iteration-count: 1;
/* Stay on pause when the animation is finished finished */
animation-fill-mode: forwards;
/* We start paused, we start the animation using javascript */
animation-play-state: paused;
/* We want a linear animation, ease-out is standard */
animation-timing-function: linear;
}
@keyframes progressbar-countdown {
0% {
width: 100%;
background: #0F0;
}
100% {
width: 0%;
background: #F00;
}
}