mirror of https://github.com/apibillme/broker
25 lines
557 B
CSS
25 lines
557 B
CSS
.spinner {
|
|
position: relative;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.spinner::after {
|
|
content: '';
|
|
position: absolute !important;
|
|
top: calc(50% - (1em / 2));
|
|
left: calc(50% - (1em / 2));
|
|
display: block;
|
|
width: 7em;
|
|
height: 7em;
|
|
border: 2px solid currentColor;
|
|
border-radius: 9999px;
|
|
border-right-color: transparent;
|
|
border-top-color: transparent;
|
|
animation: spinAround 500ms infinite linear;
|
|
}
|
|
|
|
@keyframes spinAround {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|