From 522858ef1357033aca42936a8554f54210fd4905 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 20:04:43 +0000 Subject: [PATCH] fix: keep experience timeline working after CSS minification --- src/style.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/style.css b/src/style.css index 949d30e..ba877b0 100644 --- a/src/style.css +++ b/src/style.css @@ -181,15 +181,22 @@ li:last-child > .role-seg { scale: 1 0; } +/* The timeline lives in its own rule. The CSS minifier folds animation-timeline into the animation shorthand when they share a rule, and browsers drop that declaration */ @supports (animation-timeline: view()) { .role-seg-fill { animation: rail-fill linear both; - animation-timeline: --seg; animation-range: cover 50vh cover calc(100% - 50vh); } + .role-seg > .role-seg-fill { + animation-timeline: --seg; + } + .role-dot { animation: role-dot linear both; + } + + li > .role-dot { animation-timeline: view(); } }