-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloader.css
60 lines (53 loc) · 1.31 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
#indicator {
position: absolute;
margin: auto;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 400px;
height: 400px;
.circle {
position: absolute;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 50%;
background: rgba(138, 43, 226, 0.02);
&:nth-of-type(1) {
width: 200px;
height: 180px;
animation: rt 6s infinite linear;
box-shadow: 0 0 1px 0 blueviolet,
inset 0 0 10px 0 blueviolet;
}
&:nth-of-type(2) {
width: 180px;
height: 200px;
animation: rt 10s infinite linear;
box-shadow: 0 0 1px 0 darkviolet,
inset 0 0 10px 0 darkviolet;
}
&:nth-of-type(3) {
width: 210px;
height: 190px;
animation: rt 5s infinite linear;
box-shadow: 0 0 1px 0 darkmagenta,
inset 0 0 10px 0 darkmagenta;
}
&:nth-of-type(4) {
width: 190px;
height: 210px;
animation: rt 15s infinite linear;
box-shadow: 0 0 1px 0 magenta,
inset 0 0 10px 0 magenta;
}
}
}
@keyframes rt {
100% {
transform: rotate(360deg);
}
}