106 lines
2.5 KiB
SCSS
106 lines
2.5 KiB
SCSS
.bd-spinner3 {
|
|
width: 40px;
|
|
height: 40px;
|
|
position: relative;
|
|
backface-visibility: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
background: #fff;
|
|
height: 30px;
|
|
width: 30px;
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
left: 5px;
|
|
top: 5px;
|
|
-webkit-animation: bd-spinner3AnimBefore 2s cubic-bezier(.4, 0, 0, 1) infinite;
|
|
animation: bd-spinner3AnimBefore 3s cubic-bezier(.4, 0, 0, 1) infinite;
|
|
backface-visibility: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
&::after {
|
|
content: '';
|
|
background: #202225;
|
|
height: 20px;
|
|
width: 20px;
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
left: 10px;
|
|
top: 10px;
|
|
-webkit-animation: bd-spinner3AnimAfter 2s cubic-bezier(.4, 0, 0, 1) infinite;
|
|
animation: bd-spinner3AnimAfter 3s cubic-bezier(.4, 0, 0, 1) -.1s infinite;
|
|
backface-visibility: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes bd-spinner3AnimBefore {
|
|
0% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(1.2) rotate(.01deg);
|
|
transform: scale(1.2) rotate(.01deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
}
|
|
|
|
@keyframes bd-spinner3AnimBefore {
|
|
0% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(.8) rotate(.01deg);
|
|
transform: scale(1.2) rotate(.01deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
}
|
|
|
|
@-webkit-keyframes bd-spinner3AnimAfter {
|
|
0% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(.4) rotate(.01deg);
|
|
transform: scale(.4) rotate(.01deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
}
|
|
|
|
@keyframes bd-spinner3AnimAfter {
|
|
0% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
|
|
50% {
|
|
-webkit-transform: scale(.4) rotate(.01deg);
|
|
transform: scale(.4) rotate(.01deg);
|
|
}
|
|
|
|
100% {
|
|
-webkit-transform: scale(1) rotate(.01deg);
|
|
transform: scale(1) rotate(.01deg);
|
|
}
|
|
}
|