chs/src-web/components/Spinner.css
2022-10-31 13:25:32 +00:00

19 lines
455 B
CSS

.spinner {
display: inline-block;
width: var(--spinner-size);
height: var(--spinner-size);
border: 4px solid;
border-color: transparent transparent var(--spinner-colour) var(--spinner-colour);
border-radius: 99999px;
transform-origin: center;
animation: spinner-spin 500ms linear infinite;
}
@keyframes spinner-spin {
from {
transform: rotateZ(0deg);
}
to {
transform: rotateZ(360deg);
}
}