CSS Box Shadow Generator

Design CSS box shadows visually and copy the code.

Runs entirely in your browser — nothing you enter is uploaded.

About this tool

Tune offset, blur, spread, colour and opacity with live preview, including layered shadows for a more natural look.

How to use the CSS Box Shadow Generator

  1. Adjust the sliders.
  2. Preview the result.
  3. Copy the CSS.

How it works

Slider values are composed into a box-shadow declaration with an rgba() colour. Layered mode adds a tighter contact shadow under the main one.

Frequently asked questions

Do shadows hurt performance?

Large blurred shadows on many animated elements can; static shadows are cheap.