-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
44 lines (40 loc) · 778 Bytes
/
style.css
File metadata and controls
44 lines (40 loc) · 778 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
.clockContainer{
/* background-color: rebeccapurple; */
position: relative;
margin: auto;
height: 50vw;
width: 50vw;
background: url("clock.png") no-repeat;
background-size: 100%;
/* border: 2px solid red; */
}
#hour, #minute, #second{
position: absolute;
border-radius: 5px;
}
#hour{
background: black;
top: 28%;
left: 49.3%;
width: 1%;
height: 20%;
opacity: .5;
transform-origin: bottom;
}
#minute{
background: blue;
top: 21%;
left: 49.3%;
width: 1%;
height: 30%;
transform-origin: bottom;
}
#second{
background: red;
top: 26%;
left: 49.3%;
width: 1%;
height: 25%;
opacity: .3;
transform-origin: bottom;
}