-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (42 loc) · 936 Bytes
/
style.css
File metadata and controls
46 lines (42 loc) · 936 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
body {
background: transparent;
background-color: transparent;
}
.clock {
width: 60vh;
height: 60vh;
border-radius: 50%;
margin: 20vh auto;
display: flex;
position: relative;
}
.clock-face {
width: 55vh;
height: 55vh;
border-radius: 50%;
position: absolute;
top: 2.5vh;
left: 2.5vh;
background: url('https://github.com/umarcbs/AnalogCLock/blob/master/clock-face2.png?raw=true');
background-size: 100% 100%;
}
.hand {
width: 35%;
height: 6px;
background-color: rgb(218, 64, 17);
position: absolute;
top: 49.5%;
left: 17.5%;
transform-origin: 95%;
transform: rotate(90deg);
transition: all 0.05s;
transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
}
.second-hand {
height: 3px;
}
.hour-hand {
width: 20%;
left: 31.8%;
top: 50%;
}