View timelines
Elements animate themselves as they enter the viewport. Pure CSS, zero JavaScript, off the main thread.
01 Test labs
Eleven working experiments, one HTML file, zero dependencies. Scroll-driven animation, a live shader, canvas physics, real View Transitions, container queries — running live, in your browser, right now.
02 Layout & scroll
Native scroll-driven animations (animation-timeline: view())
run off the compositor — no scroll listeners, no jank. Hover a card to
see its own transition; scroll to see the reveal.
Elements animate themselves as they enter the viewport. Pure CSS, zero JavaScript, off the main thread.
A pinned section scrubs a horizontal track as you scroll — the oldest trick in the book, now buttery.
Every size on this page is a clamp() between viewport bounds. It never breaks, it never overflows.
Auto-fitting grids without a single media query. minmax(min(100%, 300px), 1fr) does the maths.
03 Graphics
Raw WebGL with a fragment shader — animated domain-warped noise, recoloured live in the fragment program. Toggle the palette and watch the GPU do the work.
04 Canvas 2D
Thousands of particles advected through a curl-noise flow field, with mouse repulsion and trail accumulation. Run on a 2D canvas with additive blending — 60fps on integrated graphics.
05 Motion
The View Transitions API animates one element into another across a layout change. Click any tile: the browser interpolates position, size and shape for you — no FLIP maths, no manual measurement.
06 Depth
A cube made of six CSS 3D transforms in a shared perspective space. Grab it and turn it — drag with mouse, finger or pen; it keeps the momentum you throw it with.
07 Components
Container queries let a component respond to its own space, not the viewport. Drag the frame narrower and the layout below re-composes — the component is genuinely reusable now.
Above 520px of container width, this grid splits into two columns and the label grows. Nothing about the viewport matters.
08 Typography
The display face is Archivo with its width axis exposed. Move the slider: every headline on the page changes width continuously, not in steps — because the axis is continuous.
Archivo · wdth axis 62 → 125 · variable font
09 Input
Pointer Events with pressure and tilt, coalesced events for smooth strokes, and a canvas that redraws only what changed. Draw below with a pen, a finger, or a mouse.
A sticky section pinned while its track translates with scroll position.
Only transform animates here — so it stays on the compositor.
Panel widths are clamp()-ed, so the track adapts to any screen.
Not a screenshot, not a video — actual DOM, styled and typeset.
The section is 320vh tall; the track scrubs across it.
10 Interface
Native accessibility primitives, restyled: an ARIA switch with real keyboard support, and a range input driving a live custom property. Everything here is keyboard-reachable and screen-reader labelled.
role="switch" · Space / Enter
CSS var updated per frame
waiting…
01 Specimen
Expanded through a View Transition. The browser tweened this content from the tile's exact position and size — no manual measurement, no FLIP library, no jank.