28 lines
452 B
SCSS
28 lines
452 B
SCSS
|
.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;
|
||
|
}
|