60 lines
1.3 KiB
SCSS
60 lines
1.3 KiB
SCSS
|
.bd-spinner-4 {
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
position: relative;
|
||
|
-webkit-animation: bd-spinner-4-anim 1s cubic-bezier(0.9, -0.64, 0.05, 1.44) infinite;
|
||
|
animation: bd-spinner-4-anim 1s cubic-bezier(0.9, -0.64, 0.05, 1.44) infinite;
|
||
|
backface-visibility: hidden;
|
||
|
-webkit-backface-visibility: hidden;
|
||
|
|
||
|
&::before {
|
||
|
content: "";
|
||
|
background: #fff;
|
||
|
height: 10px;
|
||
|
width: 10px;
|
||
|
position: absolute;
|
||
|
border-radius: 50%;
|
||
|
left: 5px;
|
||
|
top: 15px;
|
||
|
backface-visibility: hidden;
|
||
|
-webkit-backface-visibility: hidden;
|
||
|
}
|
||
|
|
||
|
&::after {
|
||
|
content: "";
|
||
|
background: #fff;
|
||
|
height: 10px;
|
||
|
width: 10px;
|
||
|
position: absolute;
|
||
|
border-radius: 50%;
|
||
|
right: 5px;
|
||
|
top: 15px;
|
||
|
backface-visibility: hidden;
|
||
|
-webkit-backface-visibility: hidden;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@-webkit-keyframes bd-spinner-4-anim {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-webkit-transform: rotate(180deg);
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes bd-spinner-4-anim {
|
||
|
0% {
|
||
|
-webkit-transform: rotate(0deg);
|
||
|
transform: rotate(0deg);
|
||
|
}
|
||
|
|
||
|
100% {
|
||
|
-webkit-transform: rotate(180deg);
|
||
|
transform: rotate(180deg);
|
||
|
}
|
||
|
}
|