-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclock.css
70 lines (69 loc) · 1.19 KB
/
clock.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
59
60
61
62
63
64
65
66
67
68
69
70
#container{
border: 2px solid #433B39;
border-radius: 50%;
width: 355px;
}
#clock{
width: 350px;
height: 350px;
border-radius: 50%;
background-color: black;
margin: 0 auto;
position:relative;
transform: rotate(180deg);
border: 3px solid #BDCBCB;
}
#center{
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #FF812A;
position: absolute;
top: 43%;
left: 43%;
z-index:4
}
#hour{
width: 12px;
height: 120px;
background-color: white;
position: absolute;
z-index: 1;
top: 44%;
left: 47%;
transform: rotate(0deg);
transform-origin: 11px 22px;
border-radius: 8px;
}
#min{
width: 12px;
height: 140px;
background-color: white;
position: absolute;
z-index: 2;
top: 44%;
left: 48%;
transform-origin: 11px 22px;
border-radius: 8px;
}
#sec{
width:2px;
height:160px;
background-color: white;
position:absolute;
z-index:3;
left: 49%;
top: 44%;
transform-origin: 8px 30px;
}
#digital {
color: black;
position: absolute;
top: 32%;
transform: rotate(180deg);
left: 40%;
background-color: white;
z-index: 5;
padding: 2%;
border-radius: 2px;
}