webapp/src/components/_shared/Loading.module.scss

28 lines
452 B
SCSS
Raw Normal View History

2022-10-19 14:26:49 +00:00
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, 0);
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.icon {
animation-name: spin;
width: 64px;
height: 64px;
background-image: url(/icons/arrows-rotate.svg);
background-repeat: no-repeat;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}