CSS text-shadow Playground

Mr. Harun’s banner over a batik cloth: write a text-shadow list, the browser reads it back layer by layer, try what a fourth value does, and the letters’…

Why it matters

Headings over photos, neon, 3D or edge effects: all text-shadow, no images. What often goes wrong: writing a fourth value like box-shadow’s (the whole shadow disappears), and relying on a shadow for readability when the colour contrast is too low.

The key idea

text-shadow = copies of the letters, stacked from the back, no spread

Common mistakes

Try it in this playground