-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (51 loc) · 2.56 KB
/
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
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--==================== BOXICONS ====================-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<!--==================== CSS ==========-->
<link rel="shortcut icon" type="image/x-icon" href="https://i.imgur.com/YjCTf5p.png">
<link rel="stylesheet" href="styles.css">
<title>3D Clock</title>
</head>
<body>
<section class="clock container">
<div class="clock__container grid">
<div class="clock__content grid">
<div class="clock__circle">
<span class="clock__twelve"></span>
<span class="clock__three"></span>
<span class="clock__six"></span>
<span class="clock__nine"></span>
<div class="clock__rounder"></div>
<div class="clock__hour" id="clock-hour"></div>
<div class="clock__minutes" id="clock-minutes"></div>
<div class="clock__seconds" id="clock-seconds"></div>
<!-- Dark/light button -->
<div class="clock__theme">
<i class='bx bxs-moon' id="theme-button"></i>
</div>
</div>
<div>
<div class="clock__text">
<div class="clock__text-hour" id="text-hour"></div>
<div class="clock__text-minutes" id="text-minutes"></div>
<div class="clock__text-ampm" id="text-ampm"></div>
</div>
<div class="clock__date">
<!-- <span id="date-day-week"></span> -->
<span id="date-day"></span>
<span id="date-month"></span>
<span id="date-year"></span>
</div>
</div>
</div>
<a target="blank" href="https://perfecthabibur.github.io/com" class="clock__logo">Habibur Rahman</a>
</div>
</section>
<!--==================== MAIN JS ====================-->
<script src="main.js"></script>
</body>
</html>