.loader-div {
|
position: fixed;
|
display: flex;
|
justify-content: center;
|
align-items: center;
|
background-color: white;
|
width: 100%;
|
height: 100%;
|
|
.loader-next {
|
--color: #a5a5b0;
|
--size: 70px;
|
width: var(--size);
|
height: var(--size);
|
display: grid;
|
grid-template-columns: repeat(3, 1fr);
|
gap: 5px;
|
}
|
|
.loader-next span {
|
width: 100%;
|
height: 100%;
|
background-color: var(--color);
|
animation: keyframes-blink 0.6s alternate infinite linear;
|
}
|
|
.loader-next span:nth-child(1) {
|
animation-delay: 0ms;
|
}
|
|
.loader-next span:nth-child(2) {
|
animation-delay: 200ms;
|
}
|
|
.loader-next span:nth-child(3) {
|
animation-delay: 300ms;
|
}
|
|
.loader-next span:nth-child(4) {
|
animation-delay: 400ms;
|
}
|
|
.loader-next span:nth-child(5) {
|
animation-delay: 500ms;
|
}
|
|
.loader-next span:nth-child(6) {
|
animation-delay: 600ms;
|
}
|
|
@keyframes keyframes-blink {
|
0% {
|
opacity: 0.3;
|
transform: scale(0.5) rotate(5deg);
|
}
|
|
50% {
|
opacity: 1;
|
transform: scale(1);
|
}
|
}
|
}
|