-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (70 loc) · 2.02 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- add js file -->
<!-- <script src="./ArrayMethods.js"></script> -->
<!-- <script src="./WebApi.js"></script> -->
<!-- <script src="promises.js"></script> -->
<!-- <script src="./index.js"></script> -->
<!-- <script defer src="./Dom.js"></script> -->
<!-- <script defer src="./AsyncAndAwait.js"></script> -->
<script defer src="./EventListner.js"></script>
<title>Document</title>
<style>
div.clock {
width: 150px;
height: 150px;
border: 2px solid crimson;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
transform: rotate(-90deg);
}
div.second {
transition: 0.2s ease-out;
}
div.second::after {
content: "";
width: 75px;
height: 4px;
background-color: yellow;
position: absolute;
border-end-end-radius: 10px;
}
div.minute {
transition: 0.2s ease-out;
}
div.minute::after {
content: "";
width: 75px;
height: 4px;
background-color: black;
position: absolute;
border-end-end-radius: 10px;
}
div.cover {
width: 15px;
height: 15px;
background-color: black;
border-radius: 50%;
position: absolute;
z-index: 1000;
}
</style>
</head>
<body>
<!-- <h1 id="timer">0</h1>
<div class="clock">
<div class="cover"></div>
<div class="second"></div>
<div class="minute"></div>
</div>
<ul></ul> -->
<!-- <button onclick="handleClick('hi')">Click</button> using this we can also add click event on button -->
<button>Click</button>
</body>
</html>