-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (76 loc) · 1.47 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #222;
}
.loading {
position: relative;
display: flex;
gap: 15px;
}
.loading span {
position: relative;
width: 5px;
height: 20px;
}
.loading span::before {
content: '';
position: absolute;
inset: 0;
animation: animate 8s linear infinite;
animation-delay: calc(var(--i) * 0.1s);
}
@keyframes animate {
0% {
background: #0f0;
box-shadow: 0 0 5px #0f0,
0 0 15px #0f0,
0 0 30px #0f0,
0 0 50px #0f0;
rotate: 0deg;
}
20% {
background: #0f0;
box-shadow: 0 0 5px #0f0,
0 0 15px #0f0,
0 0 30px #0f0,
0 0 50px #0f0;
rotate: 0deg;
}
40% {
background: #0f0;
box-shadow: 0 0 5px #0f0,
0 0 15px #0f0,
0 0 30px #0f0,
0 0 50px #0f0;
rotate: 90deg;
transform-origin: bottom;
filter: hue-rotate(0deg);
}
80% {
background: #0f0;
box-shadow: 0 0 5px #0f0,
0 0 15px #0f0,
0 0 30px #0f0,
0 0 50px #0f0;
rotate: 90deg;
transform-origin: bottom;
filter: hue-rotate(360deg);
}
90% {
background: #000;
box-shadow: none;
rotate: 0deg;
}
90.1%, 100% {
box-shadow: #000;
box-shadow: none;
}
}