-
Notifications
You must be signed in to change notification settings - Fork 0
/
countdown.css
57 lines (50 loc) · 1.12 KB
/
countdown.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
/*count down timer*/
.countdown-timer .countdown .circle {
border-radius: 50%;
width: 70px;
height: 70px;
display: inline-block;
text-align: center;
position: relative;
background-color: #fff;
}
.countdown-timer .countdown .circle .int {
position: absolute;
left: 0;
width: 100%;
text-align: center;
top: calc(100% + 15px);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
color: #262626;
font-size: 14px;
}
.countdown-timer svg.radial-progress {
height: auto;
transform: rotate(-90deg);
}
svg.radial-progress circle {
fill: transparent;
stroke: #6c63ff;
stroke-dashoffset: 219.91148575129;
stroke-width: 5
}
svg.radial-progress circle.incomplete {
opacity: .25
}
svg.radial-progress circle.complete {
stroke-dasharray: 219.91148575129
}
svg.radial-progress text {
fill: #262626;
text-anchor: middle
}
svg.radial-progress circle {
fill: transparent;
stroke: #6c63ff;
color: #6c63ff;
stroke-dashoffset: 219.91148575129;
stroke-width: 5
}
/*End count down timer*/