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
Merge branch 'feat/rollout-scroll-d' into feat/rollout-scroll
matin16163701fd97
diff --cc index.htmlindex 26fc7cfa,45e9775d..7d444bcb--- a/index.html+++ b/index.html@@@ -885,26 -885,26 +885,26 @@@ const CATS=['cover-card-to-fixed-header','Cover Card to Fixed Header','A tall cover shrinks into a slim header as you scroll. Best for articles.'],['fly-in-fly-out-contact-list','Fly-in Fly-out Contact List','Rows fade and slide as they near the top or bottom edge. Best for long lists.'],['stacking-cards','Stacking Cards','Cards stick at the top and pile into a deck. Best for step-by-step stories.'],- ['scroll-trigger','ScrollTrigger Animation','The onEnter / onLeave lifecycle demonstrated with vanilla JS — four scroll trigger zones.'],- ['scrub-animation','Scrub Animation','Scroll position is the playhead — a flight path doubles as its own timeline, seekable in either direction.'],- ['pin-animation','Pin Animation','An element freezes in place while the page scrolls beneath it — CSS sticky, no JavaScript pinning.'],- ['snap-scrolling','Snap Scrolling','CSS scroll-snap-type creates a paginated, magnetic feel — mandatory, proximity, and none compared.'],- ['scrollytelling','Scrollytelling','Fractional chapter progress drives continuous depth crossfades across six ocean-layer chapters.'],- ['reveal-on-scroll','Reveal on Scroll','Seven reveal techniques fired by IntersectionObserver at a configurable trigger line.'],- ['stagger-reveal','Stagger Reveal','Groups reveal with cascading delays — forward, reverse, center-out, and random cascade directions.'],- ['horizontal-scroll','Horizontal Scroll','Vertical scroll translates a horizontal panel strip — a tall pinned section provides the scroll budget.'],- ['sticky-section','Sticky Section','The whole section pins while its interior morphs through four states scrubbed to scroll position.'],- ['counter-animation','Counter Animation','Numbers count 0 → target with easing on scroll entry — four formats and configurable curve.'],- ['progress-bar','Progress Bar','Reading progress in three styles — top bar, circular ring, and side rail — driven by scrollTop / scrollHeight.'],- ['section-wipe','Section Wipe','The next section slides over the current via sticky z-index stacking — scale-down adds depth.'],+ ['scroll-trigger','ScrollTrigger Animation','Animations start, follow and pin at set scroll points. Best for landing pages.'],+ ['scrub-animation','Scrub Animation','Scroll plays it forward and back, like dragging a video. Best for product tours.'],+ ['pin-animation','Pin Animation','One part stays put while its text changes on scroll. Best for feature lists.'],+ ['snap-scrolling','Snap Scrolling','The box settles on one whole section at a time. Best for slides and galleries.'],+ ['scrollytelling','Scrollytelling','A picture beside the story changes as you read down. Best for data stories.'],+ ['reveal-on-scroll','Reveal on Scroll','Cards appear as they cross a line in the box. Best for long landing pages.'],+ ['stagger-reveal','Stagger Reveal','Items in a group appear one after another as it scrolls in. Best for card grids.'],+ ['horizontal-scroll','Horizontal Scroll','Scroll down and a row of panels slides sideways. Best for portfolios.'],+ ['sticky-section','Sticky Section','A section holds still while its content changes. Best for feature tours.'],+ ['counter-animation','Counter Animation','Numbers count up when they scroll into view. Best for stats.'],+ ['progress-bar','Progress Bar','A bar fills as you read down the page. Best for long articles.'],+ ['section-wipe','Section Wipe','Each section slides up over the one before. Best for full-screen stories.'],['zoom-into-image','Zoom Into Image','A small window opens up to fill the box as you scroll. Best for hero images.'],['scroll-image-sequence','Scroll Image Sequence','Scrolling plays a series of pictures like a flip-book. Best for products.'],- ['smooth-scroll','Smooth (Inertia) Scroll','Wheel and touch input eased toward a target each frame — weighted, gliding momentum instead of native jumps.'],- ['text-fill-on-scroll','Text Fill on Scroll','A pinned paragraph fills word by word as you scroll — pause mid-read, scroll back and it un-reads.'],+ ['smooth-scroll','Smooth (Inertia) Scroll','Scrolling glides to a stop instead of jumping. Best for portfolio sites.'],+ ['text-fill-on-scroll','Text Fill on Scroll','Words light up one by one as you scroll. Best for key statements.'],['scroll-velocity-skew','Scroll Velocity Skew','Content shears with scroll speed and springs straight when you stop — motion mapped to velocity, not position.'],['svg-line-draw','SVG Line Draw on Scroll','A winding route draws itself down the page via stroke-dashoffset, passing waypoints as you travel.'],- ['scrollspy-nav','Scrollspy Navigation','A nav rail tracks the section in view with a sliding indicator — the docs-site pattern.'],- ['scroll-background-color','Scroll-Driven Background Color','The background blends between section palettes as you scroll, flipping text contrast on light stops.'],+ ['scrollspy-nav','Scrollspy Navigation','A menu highlights the section you are reading. Best for long docs.'],+ ['scroll-background-color','Scroll-Driven Background Color','The background color changes as you scroll through sections. Best for stories.'],]},{