Skip to content

Commit 23ad2c8

Browse files
committed
removed 0 from end of backgroundimage url in day2
1 parent 63775de commit 23ad2c8

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

02 - JS and CSS Clock/index-START.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="UTF-8">
56
<title>JS + CSS Clock</title>
67
</head>
8+
79
<body>
810

911

10-
<div class="clock">
11-
<div class="clock-face">
12-
<div class="hand hour-hand"></div>
13-
<div class="hand min-hand"></div>
14-
<div class="hand second-hand"></div>
15-
</div>
12+
<div class="clock">
13+
<div class="clock-face">
14+
<div class="hand hour-hand"></div>
15+
<div class="hand min-hand"></div>
16+
<div class="hand second-hand"></div>
1617
</div>
18+
</div>
1719

1820

1921
<style>
2022
html {
21-
background: #018DED url(http://unsplash.it/1500/1000?image=881&blur=50);
23+
background: #018DED url(http://unsplash.it/1500/1000?image=881&blur=5);
2224
background-size: cover;
2325
font-family: 'helvetica neue';
2426
text-align: center;
@@ -43,17 +45,18 @@
4345
position: relative;
4446
padding: 2rem;
4547
box-shadow:
46-
0 0 0 4px rgba(0,0,0,0.1),
48+
0 0 0 4px rgba(0, 0, 0, 0.1),
4749
inset 0 0 0 3px #EFEFEF,
4850
inset 0 0 10px black,
49-
0 0 10px rgba(0,0,0,0.2);
51+
0 0 10px rgba(0, 0, 0, 0.2);
5052
}
5153

5254
.clock-face {
5355
position: relative;
5456
width: 100%;
5557
height: 100%;
56-
transform: translateY(-3px); /* account for the height of the clock hands */
58+
transform: translateY(-3px);
59+
/* account for the height of the clock hands */
5760
}
5861

5962
.hand {
@@ -63,12 +66,12 @@
6366
position: absolute;
6467
top: 50%;
6568
}
66-
6769
</style>
6870

6971
<script>
7072

7173

7274
</script>
7375
</body>
74-
</html>
76+
77+
</html>

0 commit comments

Comments
 (0)