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 right ball and its readout are read again when the window is resized, so they stay true to the scroll
matin70b6be7ce0c2
diff --git a/learn/follows-the-scroll/index.html b/learn/follows-the-scroll/index.htmlindex eb141c61..76336c3e 100644--- a/learn/follows-the-scroll/index.html+++ b/learn/follows-the-scroll/index.html@@ -131,6 +131,8 @@box.addEventListener('scroll', () => {if (!ticking) { requestAnimationFrame(follow); ticking = true; }}, { passive: true });+ // A resize changes how far the box can scroll, so the ball and the readout are read again+ addEventListener('resize', follow);follow();</script></body>