Lexicon / Type · 3 of 5

34 / Type

Text Mask

The picture shows only through the letters. The type is the window, not the caption.

Through the letters

Four patterns by William Morris, from 1876 to 1887, each seen first through the letters of its own name. The pattern holds still; the letters are windows onto it. Scroll, and the windows widen until the whole pattern is there.

Strawberry Thief

Strawberry Thiefdesigned 1883 · printed 1936 · Cleveland Museum of ArtThe thrushes in the garden at Kelmscott Manor. His daughter May remembered him telling the gardener that no bird in the garden must be touched.

Honeysuckle

Honeysuckleregistered 1876 · printed about 1900 · Cleveland Museum of ArtMay Morris called it “the most mysterious and poetic — the very symbol of a garden tangle.”

Willow Bough

Willow Boughdesigned 1887 · wallpaper · The Metropolitan Museum of ArtA wallpaper of willow leaves on their branches, drawn close enough to count.

Snakeshead

Snakesheaddesigned 1877 · printed about 1920 · Cleveland Museum of ArtThe fritillary, a wildflower he remembered from the meadows near Oxford, in a red and black that was in fashion only briefly.

also called knockout text · background-clip · image-in-type

The type becomes an aperture onto the image. It needs real weight to work — thin letterforms leave too little opening for the picture to read. The pattern is fixed to the screen, not to the letters, so as the letters grow they open onto more of the same wallpaper rather than magnifying it. The last step needs no mask at all: the ground around the letters fades, and because the pattern behind is the very same fixed picture, the letters simply dissolve into it.

How it is built.word { background: var(--pattern) center / cover fixed; /* the pattern holds still */ background-clip: text; color: transparent; font-size: calc(var(--f0) * var(--z)) } /* --z: 1 → 7 on the scroll */

In full, on GitHub index.html showcase.css

Patterns — William Morris, via Wikimedia Commons from the Cleveland Museum of Art and the Metropolitan Museum of Art (both CC0): Strawberry Thief, Honeysuckle, Willow Bough, Snakeshead. The lines about them follow the museums’ records.