-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclock.css
More file actions
78 lines (73 loc) · 1.36 KB
/
clock.css
File metadata and controls
78 lines (73 loc) · 1.36 KB
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
.clock {
border-radius: 100%;
background: #ffffff;
font-family: "Montserrat";
border: 5px solid white;
box-shadow: inset 2px 3px 8px 0 rgba(0, 0, 0, 0.1);
width: 150px;
height: 150px;
}
.wrap {
overflow: hidden;
position: relative;
width: 50px;
height: 50px;
border-radius: 100%;
width: 150px;
height: 150px;
}
.minute,
.hour {
position: absolute;
height: 100px;
width: 6px;
margin: auto;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: black;
transform-origin: bottom center;
transform: rotate(0deg);
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
z-index: 1;
}
.minute {
position: absolute;
height: 130px;
width: 4px;
top: -90px;
left: 0;
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
transform: rotate(90deg);
}
.second {
position: absolute;
height: 90px;
width: 2px;
margin: auto;
top: -90px;
left: 0;
bottom: 0;
right: 0;
border-radius: 4px;
background: #FF4B3E;
transform-origin: bottom center;
transform: rotate(180deg);
z-index: 1;
}
.dot {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 12px;
height: 12px;
border-radius: 100px;
background: white;
border: 2px solid #1b1b1b;
border-radius: 100px;
margin: auto;
z-index: 1;
}