-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (71 loc) · 2 KB
/
index.html
File metadata and controls
78 lines (71 loc) · 2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clock</title>
<style>
body {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #aaaaaa;
}
.clock-area {
width: 82vw;
height: 22vw;
padding: 2vw;
border: 10px solid #000;
border-radius: 1vw;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
flex-direction: row;
background-color: #00ff00;
}
.number-area {
width: 10vw;
height: 100%;
display: inherit;
align-items: center;
background-color: #000;
}
.number-area img {
width: 100%;
}
</style>
</head>
<body>
<div class="clock-area" id="clock">
<div class="number-area" id="hours-1">
<img alt="number">
</div>
<div class="number-area" id="hours-2">
<img alt="number">
</div>
<div class="number-area" >
<img src="./img/digital/dots.png" alt="dots">
</div>
<div class="number-area" id="minutes-1">
<img alt="number">
</div>
<div class="number-area" id="minutes-2">
<img alt="number">
</div>
<div class="number-area">
<img src="./img/digital/dots.png" alt="number">
</div>
<div class="number-area" id="second-1">
<img alt="number">
</div>
<div class="number-area" id="second-2">
<img alt="number">
</div>
</div>
<script src="./script.js"></script>
</body>
</html>