Paper diorama hero
A hero where a cut-paper landscape builds behind a headline readable from the first frame: hills land, the house pops up, birds and a tag arrive after. Stacks on phones.
Recreation of @dikipirasaputra
v0.1.0 · 12 patterns · 3 templates
A collection of web motion. Small CSS patterns and full scenes, each with a live demo, a reduced-motion state and a credit to where it came from. CSS first, no dependencies, MIT.
<link rel="stylesheet" href="motion.css">
<script src="play.js"></script> <!-- only for in-view patterns -->
<h1>Hello</h1>
<p class="rise">The heading is already there; this line rises in.</p>
Or copy one entry: tokens.css plus that entry's style.css. Everything respects prefers-reduced-motion by showing the finished state.
A hero where a cut-paper landscape builds behind a headline readable from the first frame: hills land, the house pops up, birds and a tag arrive after. Stacks on phones.
Recreation of @dikipirasaputra
A kinetic shop hero: the headline squeezes in, an underline draws as it settles, copy and button follow, and a category band loops with a pause toggle.
A menu board where paper scraps stamp on at a tilt, price stickers pop after each one, a live dot pulses and a shape drifts in the corner.
A cut-paper scene that builds back to front: layers land, upright pieces pop up on a hinge, extras arrive after. Shadow, grain and a quick variant.
Recreation of @dikipirasaputra
Motion tied to scroll: eased rise, image clip and parallax, and a reading progress bar. Falls back to a one-time rise where scroll timelines are missing.
Variable-width type: headlines settle from wide to condensed (optionally light to heavy), and hover words widen without shifting their neighbours.