-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (73 loc) · 1.42 KB
/
Copy pathstyle.css
File metadata and controls
76 lines (73 loc) · 1.42 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
66
67
68
69
70
71
72
73
74
75
76
*{
margin: 0;
padding: 0;
}
.clock{
position: absolute;
width: 300px;
height: 300px;
border: 20px solid #b06a26;
border-radius: 50%;
left: 50%;
top: 50%;
background: #fefbf2;
transform: translate(-50%,-50%);
box-shadow: inset 0px 0px 10px black;
}
.clock::before{
position: absolute;
content: '';
height: 130px;
width: 10px;
background: black;
top: 50%;
left: calc(50% - 5px);
border-radius: 5px;
animation: spin 6s linear infinite;
transform-origin: top;
}
.clock::after{
position: absolute;
content: '';
height: 100px;
width: 10px;
background: black;
top: 50%;
left: calc(50% - 5px);
border-radius: 5px;
animation: spin 72s linear infinite;
transform-origin: top;
}
@keyframes spin {
0%{
transform: rotate(-180deg);
}
100%{
transform: rotate(180deg);
}
}
body::before{
content: '';
position: absolute;
width: 20px;
height: 20px;
border-radius: 50%;
background: #b06a26;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
body::after{
content: '';
position: absolute;
width: 10px;
height: 10px;
border-radius: 50%;
background: black;
left: 50%;
top: calc(50% - 145px);
z-index: 2;
transform: translateX(-50%);
box-shadow: 140px 145px 0 0 black,-140px 145px 0 0 black,0 280px 0 0 black;
}