29 lines
459 B
CSS
29 lines
459 B
CSS
.spinner {
|
|
position: relative;
|
|
text-align: center;
|
|
margin: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.spinner::before {
|
|
content: '';
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -20px;
|
|
margin-left: -10px;
|
|
border-radius: 50%;
|
|
border: 2px solid #7b1173;
|
|
border-top-color: #e000cf;
|
|
animation: spinner 0.6s linear infinite;
|
|
}
|
|
|
|
@keyframes spinner {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|