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