-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (80 loc) · 1.28 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
*{
margin:0;
padding: 0;
}
body{
width: 100vw;
height: 100vh;
background: #c1c1c4;
display: flex;
justify-content: center;
align-items: center;
}
#clock{
width: 15rem;
height: 15rem;
background: url(imagecl.png);
background-size: 100%;
border-radius: 50%;
}
.clock1{
box-shadow: -8px -8px 20px #e1e1e4,
8px 8px 20px #727276,
inset -4px -4px 20px #e1e1e4,
inset 4px 4px 20px #727276;
}
.clock2{
box-shadow: -8px -8px 20px #2b2a2b,
8px 8px 20px #050205,
inset -4px -4px 20px #2b2a2b,
inset 4px 4px 20px #050205;
}
#bt{
position: absolute;
bottom: 20%;
padding: 10px 15px;
background: #111;
color: #eee;
font-size: 1rem;
letter-spacing: 2px;
border-radius: 2%;
font-weight: 600;
border:none;
}
#center{margin:0px;
width: 0.8rem;
height: 0.8rem;
border-radius: 50%;
background: #212;
position: absolute;
transform:translate(-50%, -50%);
left:50%;
top: 50%;
z-index:4;
}
#hour,#minute,#second{
transform-origin: bottom;
z-index: 2;
position: absolute;
transform:translateX(-50%);
left: 50%;
bottom: 50%;
}
#hour{
width: 0.35rem;
height: 3rem;
background: #ed1256;
border-radius: 20%;
}
#minute{
width: 0.2rem;
height: 4rem;
background: #1290ff;
border-radius: 20%;
}
#second{
width: 0.15rem;
height: 5rem;
background: #1f221e;
border-radius: 20%;
}