-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path51.css
More file actions
54 lines (49 loc) · 997 Bytes
/
51.css
File metadata and controls
54 lines (49 loc) · 997 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
47
48
49
50
51
52
53
54
.clock {
position: relative;
width: 200px;
height: 200px;
border-radius: 50%;
background-color: rgb(223, 216, 216);
box-shadow: 0 0 20px rgba(153, 97, 97, 0.1);
}
.hour-hand, .minute-hand, .second-hand {
position: absolute;
width: 6px;
height: 45px;
background-color: rgb(104, 68, 68);
transform-origin: bottom center;
}
.hour-hand {
width: 8px;
height: 35px;
background-color: #333;
}
.minute-hand {
width: 6px;
height: 55px;
background-color: #333;
}
.second-hand {
width: 2px;
height: 65px;
background-color: red;
}
.center {
position: absolute;
top: 50%;
left: 50%;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: black;
transform: translate(-50%, -50%);
}
.hour {
animation: cycle 60s infinite linear;
}
.mminute {
animation: cycle 6s infinite linear;
}
.second {
animation: cycle 1s infinite linear;
}