fix(css): limit hero sheen animation to 3 iterations

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen 2026-03-24 12:39:12 +08:00
parent 86885bc67a
commit 2e5a56723d
No known key found for this signature in database
GPG Key ID: B93DE4F003C33630

View File

@ -182,7 +182,7 @@ kbd {
background:
linear-gradient(118deg, transparent 35%, oklch(100% 0 0 / 0.09) 49%, transparent 63%);
transform: translateX(-30%);
animation: sheen-drift 18s linear infinite;
animation: sheen-drift 18s linear 3;
}
.hero.offscreen .hero-sheen,