Skip to content

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.

Merge branch 'feat/rollout-scroll-b' into feat/rollout-scroll

matind0a388deccf7
diff --cc index.html
index 72270b06,26337c4b..26fc7cfa
--- a/index.html
+++ b/index.html
@@@ -885,20 -885,20 +885,20 @@@ 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.'],
+ ['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','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.'],
+ ['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','clip-path expands from a framed card to full-bleed as you scroll — the portal effect.'],
- ['scroll-image-sequence','Scroll Image Sequence','A canvas pinned with sticky; scroll progress maps to a frame index — the Apple product-scroll technique, frames drawn procedurally.'],
+ ['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.'],
['scroll-velocity-skew','Scroll Velocity Skew','Content shears with scroll speed and springs straight when you stop — motion mapped to velocity, not position.'],