-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (51 loc) · 990 Bytes
/
index.html
File metadata and controls
58 lines (51 loc) · 990 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ColorClock</title>
<style>
.grad-mask {
background: radial-gradient(rgba(225,225,225,.4), rgba(61,61,61,.60));
height: 500px;
}
.container{
position: relative;
height: 500px;
background: rgb(173,33,33);
transition: background 5s;
}
.timer-box{
margin: 0;
position: absolute;
padding: 0;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
color: #fff;
font-family: 'Geneva';
}
h1{
font-size: 4em;
margin: 0px;
}
.line{
border-top: 4px solid #fff;
margin: 1% auto;
width: 0%;
}
</style>
</head>
<body>
<div class="container">
<div class="grad-mask">
<div class="timer-box">
<h1>
<span class='hour'>00</span>:<span class='minute'>00</span>:<span class='second'>00</span>
</h1>
<div class="line"></div>
</div>
</div> <!-- end container -->
</div> <!-- end gradMask -->
<script src="app.js"></script>
</body>
</html>