46 lines
693 B
CSS
46 lines
693 B
CSS
.lds-default {
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 46px;
|
|
height: 6px;
|
|
}
|
|
|
|
.lds-default div {
|
|
position: absolute;
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--articleTextColour);
|
|
animation: lds-default 1.2s linear infinite;
|
|
}
|
|
|
|
.lds-default div:nth-child(1) {
|
|
animation-delay: 0s;
|
|
top: 0px;
|
|
left: 0px;
|
|
}
|
|
|
|
.lds-default div:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
top: 0px;
|
|
left: 20px;
|
|
}
|
|
|
|
.lds-default div:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
top: 0px;
|
|
left: 40px;
|
|
}
|
|
|
|
@keyframes lds-default {
|
|
|
|
0%,
|
|
20%,
|
|
80%,
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1.5);
|
|
}
|
|
} |