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-fix2' into feat/rollout-scroll

matind7a3e8dfeea1
diff --cc index.html
index 00d3828c,f60205cc..72270b06
--- a/index.html
+++ b/index.html
@@@ -885,14 -885,14 +885,14 @@@ 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','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.'],
+ ['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.'],