-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
50 lines (46 loc) · 970 Bytes
/
index.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
*{
margin: 0px;
padding: 0px;
}
#cont{
position: relative;
margin: auto;
/* border: 5px solid black; */
background: url("https://gunanshu02.github.io/analog%20clock/clock.jpg") no-repeat center ;
/* background-color: white; */
height: 50vw;
width: 50vw;
background-size: 100%;
}
#hours,#minutes,#seconds{
position: absolute;
background-color: black;
transform-origin: bottom;
}
#hours{
width: 3%;
height: 25%;
top: 25%;
left: 48.25%;
/* display: none; */
/* background-color: red; */
border-radius: 50%;
}
#minutes{
width: 2%;
height: 38%;
top: 12%;
/* background-color: red; */
border-radius: 48%;
left: 48.75%;
/* display: none; */
}
#seconds{
width: 1%;
height: 40%;
top: 10%;
/* background-color: red; */
left: 49.26%;
border-radius: 47%;
/* display: none; */
}