-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (43 loc) · 980 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Clock-Calendar</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Orbitron');
.clock-calendar {
font-family: 'Orbitron', sans-serif;
font-weight: bold;
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
padding: 5px;
}
button {
background-color: #35bf56;
border: none;
border-radius: 5px;
color: white;
padding: 10px;
text-align: center;
font-size: 14px;
}
button:hover {
cursor: pointer;
}
.button-disable {
display: none;
}
</style>
</head>
<body>
<button class="button button-display">Display Clock</button>
<button class="button button-disable">Disable Clock</button>
<div class="clock-calendar">
<my-clock-calendar class="my-clock-calendar"></my-clock-calendar>
</div>
<script src="./clock-calendar.js"></script>
<script src="./main.js"></script>
</body>
</html>