-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathstyle.css
58 lines (58 loc) · 1.22 KB
/
style.css
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
body {
background-color: rgb(0, 0, 0);
}
.clock {
position: absolute;
width: 50vh;
height: 50vh;
padding: 3%;
margin-left: 33%;
margin-top: 4%;
border-radius: 50%;
box-shadow: rgb(255, 255, 255) 0px 0px 50px 0px;
border: 10px solid rgb(0, 0, 0);
}
.sec {
position: absolute;
height: 43%;
z-index: 3;
bottom: 50%;
left: 52%;
border-radius: 50%;
width: 1vh;
transform-origin: bottom;
background: rgb(226, 223, 223);
animation: sec_anim 60s steps(60, end) infinite;
}
.min {
position: absolute;
height: 40%;
z-index: 2;
bottom: 50%;
left: 52%;
border-radius: 50% 50%;
width: 1vh;
transform-origin: bottom;
background: rgb(224, 223, 223);
animation: sec_anim 3600s linear infinite;
}
.hour {
position: absolute;
height: 35%;
z-index: 1;
bottom: 50%;
left: 52%;
border-radius: 50%;
width: 1vh;
transform-origin: bottom;
background: rgb(231, 226, 226);
animation: sec_anim 43200s linear infinite;
}
@keyframes sec_anim {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}