-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
66 lines (58 loc) · 1.1 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #ff0;
}
#clockContainer{
position: relative;
margin: auto;
margin-top: 15px;
width: 48vw;
height: 48vw;
background-image: url(clock.png);
background-repeat: no-repeat;
background-size: 100%;
filter: drop-shadow(0 0 150px black);
}
#hour , #minute, #second{
position: absolute;
background-color: rgb(0, 0, 0);
border-radius: 50px;
transform-origin: bottom;
}
#hour{
width: 1.7%;
height: 20%;
top: 30.33%;
left: 49.29%;
z-index: 1;
}
#minute{
width: 1.1%;
height: 30%;
top: 20.33%;
left: 49.66%;
z-index: 2;
}
#second{
background-color: red;
width: 0.7%;
height: 40%;
top: 10.28%;
left: 49.85%;
z-index: 3;
}
#disc{
background: radial-gradient(red,rgb(41, 41, 41),rgb(31, 31, 31),rgb(20, 20, 20),rgb(10, 10, 10),black);
width: 4.6%;
height: 4.5%;
position: absolute;
top: 47.8%;
left: 47.7%;
border-radius: 50%;
filter: drop-shadow(0 0 10px rgb(22, 6, 6));
z-index: 4;
}