-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (46 loc) · 914 Bytes
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<title>Weekly Countdown</title>
<meta name="description" content="Weekly countdown timer. Jeffrey Birori" />
<meta name="robots" CONTENT="all">
<style>
body {
white-space: nowrap;
}
#Countdown {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-family: monospace;
}
h1, h2 {
display: inline;
margin: 0
}
h1 {
font-size: 6em;
}
h2 {
font-size: 3em;
}
@media only screen and (max-width: 950px) {
h1 {
font-size: 5em;
}
}
</style>
</head>
<body>
<div id="Countdown">
<h1 id="hours"> XX </h1>
<h2> h </h2>
<h1 id="minutes"> XX </h1>
<h2> m </h2>
<h1 id="seconds"> XX </h1>
<h2> s </h2>
</div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>