We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50642b8 commit 05cca26Copy full SHA for 05cca26
.DS_Store
2 KB
clock_demo/.DS_Store
6 KB
clock_demo/background.png
340 KB
clock_demo/index.html
@@ -9,14 +9,14 @@
9
display: flex;
10
justify-content: center;
11
align-items: center;
12
- height: 100vh;
+ height: 90vh;
13
background: white;
14
}
15
16
.clock {
17
position: relative;
18
- width: 300px;
19
- height: 300px;
+ width: 600px;
+ height: 600px;
20
21
22
.hand {
@@ -28,6 +28,7 @@
28
29
30
/* Optional sizing */
31
+ .background { height: 600px; }
32
#hours { height: 600px; }
33
#minutes { height: 600px; }
34
#seconds { height: 600px; }
@@ -36,6 +37,7 @@
36
37
38
<body>
39
<div class="clock">
40
+ <img src="background.png" class="background" alt="Clock background">
41
<img src="hours.png" id="hours" class="hand">
42
<img src="minutes.png" id="minutes" class="hand">
43
<img src="seconds.png" id="seconds" class="hand">
0 commit comments