css.gg
Version:
Minimalistic Icon library Designed by code.
26 lines (23 loc) • 559 B
CSS
@keyframes spinneralt {
0% { transform: rotate(0deg) }
to { transform: rotate(359deg) }
}
.gg-spinner-alt {
transform: scale(var(--ggs,1))
}
.gg-spinner-alt,
.gg-spinner-alt::before {
box-sizing: border-box;
position: relative;
display: block;
width: 20px;
height: 20px
}
.gg-spinner-alt::before {
content: "";
position: absolute;
border-radius: 100px;
animation: spinneralt 1s cubic-bezier(.6,0,.4,1) infinite;
border: 3px solid transparent;
border-top-color: currentColor
}