From 2c3e23c51c8f816ea735389385f2f49345bb2698 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Thu, 17 Oct 2024 23:18:58 +0200 Subject: [PATCH] feat: stars appears faster --- components/StarshineGlitter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/StarshineGlitter.vue b/components/StarshineGlitter.vue index e0b53c6..0668a57 100644 --- a/components/StarshineGlitter.vue +++ b/components/StarshineGlitter.vue @@ -18,7 +18,7 @@ const createStar = (container: HTMLElement) => { star.style.width = size; star.style.height = size; star.style.animationDuration = `${random(MIN_SPARKLE, MAX_SPARKLE)}s`; - star.style.animationDelay = `${random(0, MAX_SPARKLE)}s`; + star.style.animationDelay = `${random(0, MAX_SPARKLE * 200)}ms`; container.appendChild(star); };