mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 08:34:43 +01:00
40 lines
684 B
CSS
40 lines
684 B
CSS
/**
|
|
* Blatantly yoinked from https://loading.io/css/
|
|
*/
|
|
|
|
.LoadingCircle {
|
|
display: inline-block;
|
|
transform: translateZ(1px);
|
|
|
|
position: absolute;
|
|
top: 45%;
|
|
left: 48.5%;
|
|
}
|
|
|
|
.LoadingCircle > div {
|
|
display: inline-block;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin: 8px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
animation: loading 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
|
|
}
|
|
|
|
@keyframes loading {
|
|
0%,
|
|
100% {
|
|
animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
|
|
}
|
|
0% {
|
|
transform: rotateY(0deg);
|
|
}
|
|
50% {
|
|
transform: rotateY(1800deg);
|
|
animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
|
|
}
|
|
100% {
|
|
transform: rotateY(3600deg);
|
|
}
|
|
}
|