-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (44 loc) · 732 Bytes
/
style.css
File metadata and controls
46 lines (44 loc) · 732 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
#clockContainer{
position: relative;
margin: auto;
height: 40vw;
width: 40vw;
background: url(clock.png) no-repeat;
background-size: 100%;
}
#hour, #minute, #second{
position: absolute;
background: black;
border-radius: 10px;
transform-origin: bottom;
}
#hour{
width: 1.8%;
height: 25%;
top: 25%;
left: 48.85%;
opacity: 0.8;
}
#minute{
width: 1.6%;
height: 30%;
top: 19%;
left: 48.9%;
opacity: 0.8;
}
#second{
width: 1%;
height: 40%;
top: 9%;
left: 49.25%;
opacity: 0.8;
}
#time{
display: flex;
font-weight: 800;
font-size: large;
color: blue;
font-style: italic;
margin: 20%;
left: 50s0%;
}