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: Scrollspy Navigation: See inside's caption and note name the section's top edge, not its heading
Claude02c0053b27cc
diff --git a/animations/01-scroll-based/scrollspy-nav/index.html b/animations/01-scroll-based/scrollspy-nav/index.htmlindex f4bb843f..6758a9e9 100644--- a/animations/01-scroll-based/scrollspy-nav/index.html+++ b/animations/01-scroll-based/scrollspy-nav/index.html@@ -133,7 +133,7 @@<div class="fx-in"><i class="ln"></i><span class="cap c-line" data-hb-caption>Reading line</span>- <span class="cap c-lit" data-hb-caption>Lit: the last heading above the line</span>+ <span class="cap c-lit" data-hb-caption>Lit: the last section top above the line</span><span class="cap c-press" data-hb-caption>A pressed link glides to its section</span></div><div class="fx-cmp">@@ -148,7 +148,7 @@<button class="hb-play" type="button" id="btn-top" data-hb-top><svg class="hb-ic" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 19V5M5 12l7-7 7 7"/></svg>Back to top</button></div><div class="hb-mode-notes" aria-live="polite">- <p data-hb-for="inside" hidden>Inside, the dashed line is the reading line: the menu lights the last section whose heading has passed above it. Scroll the box or press Play to watch.</p>+ <p data-hb-for="inside" hidden>Inside, the dashed line is the reading line: the menu lights the last section whose top edge has passed above it. Scroll the box or press Play to watch.</p><p data-hb-for="compare" hidden>In Never lights the menu stays plain, so you cannot tell where you are; in Lights your section it marks the section you are reading. Scroll the box or press Play to watch.</p></div></section>