-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (27 loc) · 1.73 KB
/
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
<!DOCTYPE html>
<html>
<head>
<title>Clock</title>
<meta charset="UTF-8">
<link rel="icon" href="assets/logo.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<svg id="mySVG" version="1.1" viewBox="0 0 500 500" width="600" height="400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<circle id="inside-circle" cx="250" cy="210" r="200" fill="none" stroke="black" />
<circle id="outside-circle" cx="250" cy="210" r="165" fill="none" stroke="black" />
<g id="hours"></g>
<g id="path-and-hours">
<path id="handSc" d="M 200 200 L 200 300 M 200 300 L 193 340 L 207 340 M 200 340 L 200 350 M 200 300 L 207 340 M 200 230 L 193 220 M 200 230 L 207 220 L 193 220 z" fill="none" stroke="black" transform="rotate(0 200 200)"></path>
<path id="handHr" d="M 200 200 L 200 290 M 200 290 L 193 330 M 200 290 L 207 330 L 200 340 L 193 330 M 200 200 L 193 190 M 200 200 L 207 190 L 193 190 z" fill="none" stroke="black" transform="rotate(0 200 200)"></path>
<ellipse id="hourBox" cx="200" cy="120" rx="80" ry="50" fill="black" style="opacity:0.1;"/>
<text x="135" y="135" fill="red" font-family="Verdana" font-size="45" style="opacity: 0.7;">
<tspan id="heureActu">?</tspan>:<tspan id="minuteActu">?</tspan>
</text>
</g>
<g id="dots"></g>
</svg>
<script src="script.js"></script>
<p><center><button class="weathter-button" onclick="meteo();">LIRE LA METEO!!</button></center></p>
</body>
</html>