-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpinner.css
31 lines (28 loc) · 853 Bytes
/
Spinner.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
.cover{
display: flex;
height:700px;
width:100%;
align-items: center;
justify-content: center;
}
.custom-loader {
--r1: 154%;
--r2: 68.5%;
width:60px;
height:60px;
border-radius: 50%;
background:
radial-gradient(var(--r1) var(--r2) at top ,#0000 79.5%,#766DF4 80%),
radial-gradient(var(--r1) var(--r2) at bottom,#766DF4 79.5%,#0000 80%),
radial-gradient(var(--r1) var(--r2) at top ,#0000 79.5%,#766DF4 80%),
#E4E4ED;
background-size: 50.5% 220%;
background-position: -100% 0%,0% 0%,100% 0%;
background-repeat:no-repeat;
animation:p9 2s infinite linear;
}
@keyframes p9 {
33% {background-position: 0% 33% ,100% 33% ,200% 33% }
66% {background-position: -100% 66%,0% 66% ,100% 66% }
100% {background-position: 0% 100%,100% 100%,200% 100%}
}