-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom-index.html
105 lines (92 loc) · 3.76 KB
/
custom-index.html
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SVG Progress Bar | Only HTML5 & CSS3</title>
<!-- Favicon Link -->
<link rel="icon" type="image/png" href="./favicon.png">
<!-- CSS Link -->
<link rel="stylesheet" href="./assets/css/style.css">
<style>
circle-progressbar{
position: absolute;
width: 100%;
height: 100%;
}
line-progressbar{
width: 40rem;
height: 3rem;
}
</style>
</head>
<body>
<!-- Container Section -->
<section class="container">
<!-- Card (type="block") Section -->
<div class="card card--block">
<div class="card__progressbar card__progressbar--circle" style="--progress-number: 80; --percent: 80; --delay: 1s;">
<circle-progressbar></circle-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
<!-- Card (type="block") Section -->
<div class="card card--block">
<div class="card__progressbar card__progressbar--circle" style="--progress-number: 67; --percent: 67; --delay: 1.2s;">
<circle-progressbar></circle-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
<!-- Card (type="block") Section -->
<div class="card card--block">
<div class="card__progressbar card__progressbar--circle" style="--progress-number: 50; --percent: 50; --delay: 1.3s;">
<circle-progressbar></circle-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
</section>
<!-- Container Section -->
<section class="container container--column">
<!-- Card (type="horizontal") Section -->
<div class="card card--horizontal">
<div class="card__progressbar card__progressbar--line" style="--progress-number: 90; --percent: 90; --delay: 4s;">
<line-progressbar></line-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
<!-- Card (type="horizontal") Section -->
<div class="card card--horizontal">
<div class="card__progressbar card__progressbar--line" style="--progress-number: 70; --percent: 70; --delay: 4.2s;">
<line-progressbar></line-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
<!-- Card (type="horizontal") Section -->
<div class="card card--horizontal">
<div class="card__progressbar card__progressbar--line" style="--progress-number: 40; --percent: 40; --delay: 4.3s;">
<line-progressbar></line-progressbar>
<h1 class="card__progressbar__number">
<span class="number-holder"></span>
<span class="percent-icon">%</span>
</h1>
</div>
</div>
</section>
<script src="./assets/js/script.js"></script>
</body>
</html>