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: lesson 11's stage gives back the second line of its description, so the Play bar stays on a laptop's first screen
matin4b83f2be23e4
diff --git a/learn/follows-the-scroll/index.html b/learn/follows-the-scroll/index.htmlindex f7e192f8..eb141c61 100644--- a/learn/follows-the-scroll/index.html+++ b/learn/follows-the-scroll/index.html@@ -23,6 +23,11 @@:root{--ui-accent:#c8f169}*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}.stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#0b0b0d;overflow:hidden}+ /* The line under the title takes two lines here, one more than on the animation pages, so from 601px wide (where the shared heights apply)+ the stage gives that line back, and the player bar stays on a laptop's first screen. --fs-vh: the small viewport height where known */+ @supports(height:1svh){.stage{--fs-vh:1svh}}+ @media(min-width:601px){.stage{--hb-stage-h:clamp(300px,calc(100 * var(--fs-vh) - 450px),440px)}}+ @media(min-width:601px) and (max-height:760px){.stage{--hb-stage-h:clamp(260px,calc(100 * var(--fs-vh) - 356px),440px)}}.panel{position:relative;min-width:0;background:#14151b}.view{display:flex;flex-direction:column;justify-content:center;gap:14px;height:100%;padding:clamp(14px,3vw,28px)}.name{font:700 clamp(15px,2vw,19px)/1.2 var(--hb-font);color:#f4f4f2}