-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (60 loc) · 1.1 KB
/
style.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
#main{
display: flex;
align-items: center;
justify-content: center;
}
#clock{
position: relative;
background: url(./images/clockblack.jpg);
height: 330px;
width: 330px;
background-repeat: no-repeat;
background-size: cover;
}
#hour{
width: 9px;
height: 75px;
background-color: white;
border-radius: 10px;
position: absolute;
top: 28%;
left: 49.2%;
transform-origin: bottom;
}
#minutes{
width: 6px;
height: 100px;
background-color: white;
border-radius: 10px;
position: absolute;
left: 49.4%;
top: 20%;
opacity: 0.7;
transform-origin: bottom;
}
#seconds{
width: 2px;
height: 100px;
background-color: #fd0a0a;
border-radius: 10px;
position: absolute;
left: 50%;
top: 20%;
transform-origin: bottom;
}
@media screen and (max-width: 400px) {
#clock{
width: 265px;
height: 265px;
}
#hour{
top: 28%;
left: 49%;
height: 58px;
}
#minutes,#seconds{
left: 49.4%;
top: 20%;
height: 80px;
}
}