Newer
Older
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
70
71
72
73
74
75
76
77
78
79
80
81
/* Load animation */
@-webkit-keyframes load {
0% {
stroke-dashoffset: 0
}
}
@-moz-keyframes load {
0% {
stroke-dashoffset: 0
}
}
@keyframes load {
0% {
stroke-dashoffset: 0
}
}
.progress {
position: relative;
padding: 0;
text-align: center;
}
.progress > li {
display: inline-block;
position: relative;
text-align: center;
font-weight: 100;
margin: 2rem;
}
.progress > li:after {
content: attr(data-percent);
position: absolute;
width: 100%;
left: 0;
text-align: center;
}
.progress svg:nth-child(2) {
position: absolute;
left: 0;
top: 0;
transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
}
.progress svg:nth-child(2) path {
fill: none;
stroke-width: 25;
stroke-dasharray: 629;
-webkit-animation: load 1s;
-moz-animation: load 1s;
-o-animation: load 1s;
animation: load 1s;
}
body {
padding: 0;
margin: 0;
font-family: Sans-Serif;
}
table {
width: 100vw;
height: 100vh;
text-align: center;
}
.progress-title{
margin-top: 3vmin;
}
.headline {
font-size: 6vmin;
padding-top: 3vmin;
}