-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
65 lines (58 loc) · 1.2 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #1a191d;
}
.loader {
position: relative;
width: 150px;
height: 150px;
}
.loader span {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
}
.loader span:nth-child(1) {
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-top: 0.25px solid rgba(255, 255, 255, 0.5);
border-left: 0.25px solid rgba(255, 255, 255, 0.5);
z-index: 2;
}
.loader span:nth-child(2) {
background-color: #04fe4d;
animation: animate 4s ease-in-out infinite;
}
.loader span:nth-child(3) {
background-color: #fff;
animation: animate 4s ease-in-out infinite;
animation-delay: -2s;
border-radius: 0;
}
@keyframes animate {
0% {
transform: translate(-150px, 50px) scale(0.4) rotate(0deg);
z-index: 1;
}
50% {
transform: translate(150px, -50px) scale(0.4) rotate(180deg);
z-index: 1;
}
50.00001% {
transform: translate(150px, -50px) scale(0.4) rotate(180deg);
z-index: 3;
}
100% {
transform: translate(-150px, 50px) scale(0.4) rotate(360deg);
z-index: 3;
}
}