Single Div Lab

Illustrations drawn in pure CSS, in the spirit of a.singlediv.com. No SVG, no images, no JavaScript. Each card shows the piece live; open it to see it full size. The README explains how every piece is drawn.

01

Orange Slice

A citrus slice from one div and its two pseudo-elements. A blurred, thresholded pith map rounds every segment without a single border-radius.

02

Ocean Wave

A breaking wave under a pale sun, split into ten depth layers that sway at their own pace, so the scene drifts in parallax.

03

Autumn Lake

A low-poly autumn landscape, measured from gridded crops of a reference picture, with every color sampled into an OKLCH token.

04

Lighthouse at Dusk

An original blue-hour scene: a striped lighthouse and a keeper's cottage on a sea cliff, its beam sweeping over the water.

05

Brass Skyport

A steampunk city at amber dusk: an airship drifts past a verdigris clock tower while gears turn and chimneys steam.

06

Colony Dawn

Dawn on a frontier moon, with a ringed gas giant, a biodome colony, a monorail and a rocket that launches on a loop.

08

Paper Sun

A paper-cut sunrise: waves of cyan, orange and red paper stack toward a deep blue gap where a two-ply sun floats.

09

Pill Path

A winding path of orange pills across a grid of blue dots, the pills melted together by shape blobbing (a blur plus contrast map).

10

Blob Grid

An eight by six grid of circles where the white ones melt into each other through soft, pinched necks to form winding chains.

11

Pixel Bug

Pixel art on graph paper. Flip the switch and the cicada morphs into a shield bug, square by square, with no JavaScript.

12

Pirate Skull

A grinning skull in a gold striped bandana, one eye socket glowing, with coins tumbling around it. One element per flat tone.

13

Pirate Skull, Crafted

A second take on the skull that leans on hand-written clip-path: shape() curves wherever the picture allows it.