-
Notifications
You must be signed in to change notification settings - Fork 0
/
loader.css
83 lines (70 loc) · 1.34 KB
/
loader.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
/* From Uiverse.io by satyamchaudharydev */
body{
background-color: black;
}
.spinner {
top: 50%;
left: 50%;
position: fixed;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
margin-left: -75px;
z-index: 9999;
}
.spinner span {
position: absolute;
top: 50%;
left: var(--left);
width: 35px;
height: 7px;
background: #ffff;
animation: dominos 1s ease infinite;
box-shadow: 2px 2px 3px 0px black;
}
.spinner span:nth-child(1) {
--left: 80px;
animation-delay: 0.125s;
}
.spinner span:nth-child(2) {
--left: 70px;
animation-delay: 0.3s;
}
.spinner span:nth-child(3) {
left: 60px;
animation-delay: 0.425s;
}
.spinner span:nth-child(4) {
animation-delay: 0.54s;
left: 50px;
}
.spinner span:nth-child(5) {
animation-delay: 0.665s;
left: 40px;
}
.spinner span:nth-child(6) {
animation-delay: 0.79s;
left: 30px;
}
.spinner span:nth-child(7) {
animation-delay: 0.915s;
left: 20px;
}
.spinner span:nth-child(8) {
left: 10px;
}
@keyframes dominos {
50% {
opacity: 0.7;
}
75% {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
80% {
opacity: 1;
}
}