BetterDiscordApp-rauenzi/src/styles/spinner.css

43 lines
774 B
CSS
Raw Normal View History

.bd-spinner {
margin: 100px auto;
width: 57px;
height: 57px;
position: relative;
}
.bd-cube1,
.bd-cube2 {
background-color: #3e82e5;
width: 15px;
height: 15px;
position: absolute;
top: 0;
left: 0;
animation: bd-sk-cubemove 1.8s infinite ease-in-out;
}
.bd-cube2 {
animation-delay: -0.9s;
}
@keyframes bd-sk-cubemove {
25% {
transform: translateX(42px) rotate(-90deg) scale(0.5);
}
50% {
transform: translateX(42px) translateY(42px) rotate(-179deg);
}
50.1% {
transform: translateX(42px) translateY(42px) rotate(-180deg);
}
75% {
transform: translateX(0) translateY(42px) rotate(-270deg) scale(0.5);
}
100% {
transform: rotate(-360deg);
}
}