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