-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
36 lines (33 loc) · 897 Bytes
/
index.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
@tailwind base;
@tailwind components;
@tailwind utilities;
.spinner {
width: 108px;
height: 16px;
background:
radial-gradient(circle 8px at 8px center, #FFF 100%, transparent 0),
radial-gradient(circle 8px at 8px center, #FFF 100%, transparent 0);
background-size: 16px 16px;
background-repeat: no-repeat;
position: relative;
animation: ballX 1s linear infinite;
}
.loader:before {
content: "";
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
background:#FFF;
inset:0;
margin:auto;
animation: moveX 1s cubic-bezier(0.5,300,0.5,-300) infinite;
}
@keyframes ballX {
0%,25%,50%,75%, 100% {background-position: 25% 0,75% 0}
40% {background-position: 25% 0,85% 0}
90% {background-position: 15% 0,75% 0}
}
@keyframes moveX {
100% {transform:translate(0.15px)}
}