-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
65 lines (61 loc) · 1.04 KB
/
style.css
File metadata and controls
65 lines (61 loc) · 1.04 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
.clock{
margin: auto;
height: 40vw;
width: 40vw;
background-image: url(Clock.svg);
display: flex;
position: relative;
}
body{
display: flex;
justify-content: center;
height: 97vh;
background-color: black;
}
#hours , #minutes ,#seconds,#date{
position: absolute;
border-radius: 8.5px;
transform-origin: bottom;
}
#hours{
background-color: white;
width: 1.5%;
height: 23%;
top: 27%;
left: 49.25%;
}
#minutes{
background-color: white;
width: 1.25%;
height: 31%;
top: 19%;
left: 49.42%;
}
#seconds{
background-color: red;
width: 1%;
height: 40%;
top: 10%;
left: 49.5%;
}
#date{
background-color: grey;
color:black;
width: 10%;
height: 5%;
top: 48%;
left: 69%;
border-radius: 5px;
font-size: 2vw;
text-align: center;
font-family: 'Roboto', sans-serif;
}
#dot{
border-radius: 100%;
width: 3.75%;
height: 3.75%;
background-color: grey;
top: 48.125%;
left: 48.125%;
position: absolute;
}