BetterDiscordApp-v2/client/src/styles/partials/generic/spinners/4.scss

60 lines
1.3 KiB
SCSS
Raw Normal View History

2018-08-15 04:03:56 +02:00
.bd-spinner4 {
width: 40px;
height: 40px;
position: relative;
2018-08-15 11:42:43 +02:00
-webkit-animation: bd-spinner4Anim 1s cubic-bezier(.9, -.64, .05, 1.44) infinite;
animation: bd-spinner4Anim 1s cubic-bezier(.9, -.64, .05, 1.44) infinite;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
&::before {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 10px;
width: 10px;
position: absolute;
border-radius: 50%;
left: 5px;
top: 15px;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
&::after {
2018-08-15 11:42:43 +02:00
content: '';
background: #fff;
height: 10px;
width: 10px;
position: absolute;
border-radius: 50%;
right: 5px;
top: 15px;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
}
2018-08-15 05:33:42 +02:00
@-webkit-keyframes bd-spinner4Anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}
2018-08-15 05:33:42 +02:00
@keyframes bd-spinner4Anim {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
}