lib/src/server/bars/bars2/bars2.module.scss
/* HTML: <div class="loader"></div> */
.loader {
width: 45px;
aspect-ratio: 1;
--c: #000;
--b: no-repeat linear-gradient(var(--c) 0 0);
background:
var(--b) 0% 50%,
var(--b) 50% 50%,
var(--b) 100% 50%;
background-size: 20% 100%;
animation: l1 1s infinite linear;
}
@keyframes l1 {
0% {
background-size:
20% 100%,
20% 100%,
20% 100%;
}
33% {
background-size:
20% 10%,
20% 100%,
20% 100%;
}
50% {
background-size:
20% 100%,
20% 10%,
20% 100%;
}
66% {
background-size:
20% 100%,
20% 100%,
20% 10%;
}
100% {
background-size:
20% 100%,
20% 100%,
20% 100%;
}
}