01 Test labs

WHAT A BROWSER REALLY DOES NOW.

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.

11
live labs
1
file
0
dependencies
60
fps
Scroll to enter

02 Layout & scroll

Scroll is
the timeline.

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.

01 / REVEAL animation-timeline: view()

View timelines

Elements animate themselves as they enter the viewport. Pure CSS, zero JavaScript, off the main thread.

scroll-driven
animation-timeline: view()CSS
02 / STACKposition: sticky

Position sticky

A pinned section scrubs a horizontal track as you scroll — the oldest trick in the book, now buttery.

position: stickyCSS
03 / FLUIDclamp()

Fluid type

Every size on this page is a clamp() between viewport bounds. It never breaks, it never overflows.

Aa Aa Aa Aa
clamp()CSS
04 / GRIDrepeat(auto-fit)

Intrinsic fit

Auto-fitting grids without a single media query. minmax(min(100%, 300px), 1fr) does the maths.

repeat(auto-fit)CSS

03 Graphics

A real
shader.

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.

WebGL 1.0 · fragment shader — fps

04 Canvas 2D

Particles
that feel.

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.

Move the pointer — they scatter

05 Motion

Morphing
the DOM.

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

Real 3D,
no library.

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.

FRONT
BACK
RIGHT
LEFT
TOP
BOTTOM
drag to rotate

07 Components

Components
that decide.

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.

Container query

Above 520px of container width, this grid splits into two columns and the label grows. Nothing about the viewport matters.

08 Typography

Variable,
animated.

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.

VARIABLE

Archivo · wdth axis 62 → 125 · variable font

Width axis

100 drag

09 Input

Draw it
yourself.

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.

—
01

Scroll-linked

A sticky section pinned while its track translates with scroll position.

position: sticky
02

Transform only

Only transform animates here — so it stays on the compositor.

will-change
03

Fluid track

Panel widths are clamp()-ed, so the track adapts to any screen.

clamp()
04

Real content

Not a screenshot, not a video — actual DOM, styled and typeset.

DOM
05

Scroll to continue

The section is 320vh tall; the track scrubs across it.

320vh

10 Interface

Controls
that answer.

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.

Toggle

off

role="switch" · Space / Enter

Live custom property

CSS var updated per frame

Live region

waiting…