HTML and CSS Experiments

These are my experiments with HTML and CSS. I try to build everything without JavaScript, and most of the time I can. When it does show up, it's for the three.js 3D scenes or a small enhancement that CSS can't handle yet. There are 1950s neon signs, toys made out of checkboxes, tests of brand-new CSS, a few complete websites, and some WW2 planes you can take apart.

Art and Toys

19 pieces

Googie Art Lab

  • pure CSS

Neon diner, motel and drive-in signs from the 1950s, drawn in CSS and lit up at night.

12 pieces

Single Div Lab

  • pure CSS

Little scenes drawn entirely in CSS, with no images or SVG.

7 demos

LED Art Playground

  • checkboxes

An LED panel where each pixel is a checkbox, so you can paint on it. There's also a marquee, a sequencer, a cube and a metro map.

3 demos

Sticker Peel

  • @property

A round sticker that peels back to show a message. Hover it, press it, or grab the corner and pull.

5 demos

Bit Lab

  • no JS

Checkboxes used as bits. A byte decoder, an adder that does real binary math, and some circuit-board toys.

9 demos

CodePen Challenge Lab

  • random()

My entries for CodePen's monthly challenges, all without JavaScript.

3D and Websites

3 demos

WW2 Models

  • three.js

A Corsair, a Mustang and a B-17, modeled in Blender with code. You can take them apart in the browser.

4 demos

Dashboard Lab

  • three.js

Dashboard mockups built around a live 3D object, like waste drums that fill when you hover, a cell tower, and a junction you can retime.

1 demo

Warehouse Lab

  • three.js

An isometric warehouse with robots driving their routes and labels that follow them around.

7 sites

Website Design Tests

  • HTML and CSS

Full websites, each with its own idea. A 1927 telegram office, a 1958 car dealer, a city above the clouds and more.

New CSS Features

7 demos

Function Lab

  • @function
  • Chrome only

Experiments with the new @function rule in CSS. There's a sundial, a gear train, a calendar and a recipe scaler.

6 demos

Chrome-Only Lab

  • 2025 to 2026
  • Chrome only

New HTML and CSS features that mostly only work in Chrome so far.

11 demos

CSS Variable Slider Lab

  • @property

Range sliders wired straight into CSS animations, so dragging one changes a value live.

2 demos

CSS Anchor Positioning Lab

  • anchor()

CSS anchor positioning. A highlight that slides between nav links, and a restaurant floor plan.

4 demos

CSS 2026 Features Lab

  • no JS

Small demos of CSS that shipped in 2026, like text-box-trim, progress() and sibling-index().

1 demo

Clock Lab

  • no JS

A date and time picker made of scrolling wheels, with no JavaScript.

Layout and Components

Base demo

Timeline Grid

  • subgrid

A timeline where the header and every row share one column grid, using subgrid.

9 demos

Timeline Grid Lab

  • no JS

More things built on the Timeline Grid, like a Gantt chart, a heatmap and a kanban board.

23 demos

CSS Constraint Lab

  • container queries

Layouts that react to the space they're given instead of the screen size.

7 demos

CSS Quantize

  • container queries

A component's width turned into a single number from 0 to 4 that everything else reads.

3 demos

Card Lab

  • view transitions

Cards that open into bigger cards, animated with view transitions.

8 demos

Googie UI Lab

  • form controls

Regular form controls dressed up like printed Googie signs, in one stylesheet you can copy.