CSS box-shadow Playground

Mr. Harun’s sign under the Sanggar’s lamp: type a layered box-shadow, the browser rewrites its value, and the shadow’s edge, blur band and reach come from the…

Why it matters

Shadows are on every card, button, modal and dropdown. A good one (layered, see-through, soft) and a rough one (one solid black layer) look very different. Knowing offset, blur and spread keeps elevation consistent, and tricks like a focus ring or a bottom-only shadow become easy.

The key idea

Spread changes the shape, blur changes the edge

Common mistakes

Try it in this playground