-
Notifications
You must be signed in to change notification settings - Fork 0
/
clock.css
64 lines (56 loc) · 863 Bytes
/
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
body {
margin: 0px;
/*background-color: #BBDEFB;*/
}
#clock {
margin: 0px;
height: 200px;
width: 200px;
box-sizing: border-box;
border-radius: 50%;
margin: 0 auto;
box-shadow: 0 22px 38px rgba(0,0,0,0.30), 0 -5px 12px rgba(0,0,0,0.22);
background-color: white;
}
#center-circle {
position: relative;
left: 50%;
top: 50%;
height: 5px;
width: 5px;
background-color: black;
border-radius: 50%;
}
.hand {
background: black;
width: 95;
height: 2px;
position: fixed;
left: 50%;
top: 50%;
transform-origin: 5% 50%;
}
#hour {
width: 75;
}
#minute {
width: 100;
}
#second {
width: 95;
background-color: red;
}
.outer {
display: table;
position: absolute;
height: 100%;
width: 100%;
}
.middle {
display: table-cell;
vertical-align: middle;
}
.inner {
margin-left: auto;
margin-right: auto;
}