176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: Progress Bar: See inside dims only the article text so the focus ring keeps full contrast; Compare's divider is solid
Claude3890ddbc9d32
diff --git a/animations/01-scroll-based/progress-bar/index.html b/animations/01-scroll-based/progress-bar/index.htmlindex 414d2a3b..1d24f163 100644--- a/animations/01-scroll-based/progress-bar/index.html+++ b/animations/01-scroll-based/progress-bar/index.html@@ -57,7 +57,7 @@/* See inside: a map of the whole article (its blocks drawn from measured offsets) with a frame the height of the box slidingdown it, a faint dashed frame where it started (the slide is shrunk: ruling 2), and a bracket as long as the frame cantravel, filled in the indicator's color as far as it has gone. The map sits below the ring and left of the rail. */- .stage[data-hb-mode="inside"] .scroller{opacity:.4}+ .stage[data-hb-mode="inside"] .article{opacity:.4} /* only the text is dimmed, so the box's focus ring keeps full contrast */.mwrap{position:absolute;right:16px;top:var(--mt,38px);bottom:14px;width:78px}@media(min-width:601px){.mwrap{width:90px}}.map{position:absolute;inset:0;background:rgba(11,11,13,.95);box-shadow:0 0 0 1px rgba(244,244,242,.25)}@@ -86,7 +86,7 @@.half .cap{top:4px;left:10px}/* each half has a name band on top, and the article moves in the window under it, so the name never covers a line */.win{position:absolute;left:0;right:0;top:28px;bottom:0;overflow:hidden;border-top:1px solid rgba(244,244,242,.14)}- .split{position:absolute;left:0;right:0;top:calc(50% - 1px);height:2px;background:rgba(244,244,242,.5)}+ .split{position:absolute;left:0;right:0;top:calc(50% - 1px);height:2px;background:#6b6b70}.stage[data-hb-mode="compare"] #top-bar,.stage[data-hb-mode="compare"] #side-rail{top:calc(50% + 1px)}.stage[data-hb-mode="compare"] #circ{top:calc(50% + 9px)}.stage[data-hb-mode="compare"] .scroller:focus-visible+.fx::after{content:"";position:absolute;inset:0;outline:2px solid var(--ui-accent);outline-offset:-2px}