-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhorloge.html
More file actions
47 lines (41 loc) · 1.8 KB
/
horloge.html
File metadata and controls
47 lines (41 loc) · 1.8 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Horloge</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="containerTime">
<p id="time">Time</p>
<svg width="200" height="200">
<g transform="rotate(-90 100 100)">
<circle r="70" cx="100" cy="100" fill="transparent" stroke="lightgrey" stroke-width="1.9rem" stroke-dasharray="439.8" stroke-dashoffset=""></circle>
<circle r="70" cx="100" cy="100" fill="transparent" stroke="blue" stroke-width="2rem" stroke-dasharray="439.8" stroke-dashoffset="440">
</circle>
</g>
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle">85%</text>
</svg>
<svg width="200" height="200">
<g transform="rotate(-90 100 100)">
<circle r="70" cx="100" cy="100" fill="transparent" stroke="lightgrey" stroke-width="1.9rem" stroke-dasharray="439.8" stroke-dashoffset=""></circle>
<circle r="70" cx="100" cy="100" fill="transparent" stroke="blue" stroke-width="2rem" stroke-dasharray="439.8" stroke-dashoffset="440">
</circle>
</g>
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle">85%</text>
</svg>
<svg width="200" height="200">
<g transform="rotate(-90 100 100)">
<circle r="70" cx="100" cy="100" fill="transparent" stroke="lightgrey" stroke-width="1.9rem" stroke-dasharray="439.8" stroke-dashoffset=""></circle>
<circle r="70" cx="100" cy="100" fill="transparent" stroke="blue" stroke-width="2rem" stroke-dasharray="439.8" stroke-dashoffset="440">
</circle>
</g>
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle">85%</text>
</svg>
</div>
<div class="containerDate hidden">
<p id="date">Date</p>
</div>
<script src="./script.js"></script>
<https://css-tricks.com/html5-progress-element/>
</body>
</html>