handy.moe

All tools / Webmaker

A pencil

Box shadow generator

Stack as many shadows as you like: soft, sharp, inset or glowing. See them on a card, copy the CSS.

Runs in your browser. Nothing you make is uploaded.

Presets

How to use it

  1. Move the sliders: offset, blur, spread, colour and opacity.
  2. Add more layers for soft, natural shadows, or tick inset for a pressed-in look.
  3. Change the card and page colours to match your site.
  4. Copy the CSS.

Every value is written in standard CSS that works in all current browsers (Chrome, Edge, Firefox, Safari).

Questions

Why use more than one shadow?

Real shadows are soft near the edge and fade far away. Two or three layers with growing blur look much more natural than one big blur.

What's the difference between blur and spread?

Blur softens the edge. Spread grows or shrinks the shadow before it's blurred; a negative spread tucks the shadow under the box.

How do I make a glow?

Set both offsets to 0, give it a bright colour and a big blur. Try the Neon preset.

Does box-shadow slow pages down?

Not noticeably for normal use. Very large blurs on many moving elements can, so keep animated shadows small.