PangandaranAI_FE / src /components /ui /Skeleton /Skeleton.module.css
rsam-66's picture
fix: optimization on SEO & SSR
a127d34
Raw History Blame Contribute Delete
368 Bytes
.skeleton {
background: linear-gradient(
90deg,
var(--border-light) 25%,
#e8e8e8 50%,
var(--border-light) 75%
);
background-size: 200% 100%;
animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}