Home
Tom Utilities

CSS Box Shadow Generator

Developer Utilities

Craft box shadows with sliders for offset, blur, spread and color, then copy the CSS.

How to use

Build a shadow

Move the sliders to adjust the horizontal offset, vertical offset, blur and spread. Choose a color and enable inset for an inner shadow.

  1. Adjust the four sliders.
  2. Pick a shadow color.
  3. Copy the generated box-shadow declaration.

Negative values

Offsets and spread accept negative values, which move the shadow up or left and shrink it.

Frequently asked questions

What is spread?

Spread expands or contracts the shadow before it is blurred. Positive values make the shadow larger.

Why is my shadow translucent?

The generated color includes partial transparency so the shadow blends with the background. Replace the color value if you want it fully opaque.