Skip to content

Design tool

Box Shadow Generator

Set the offset, blur, spread, and color, then copy the box-shadow CSS.

Stays in your browser Processed in your browser. The text is not sent to our servers.

Live Updates as you change the fields — no need to press a button.

Result updates here as you change the fields.

How to make a CSS box shadow

  1. Set sideways, downward, blur, spread, color, and opacity. 100 is solid.
  2. Turn on inset if the shadow sits inside the box.
  3. Click Build shadow, check the preview, and copy the CSS.

This CSS box-shadow generator (also called a shadow maker) writes a box-shadow property you can paste into a stylesheet. Opacity below 100 writes an rgba color. Use inset when the shadow should sit inside the box instead of outside.

How to make a CSS box shadow online →

Back to Design tools

Frequently asked questions

What is a CSS box shadow generator?

It lets you dial offset, blur, spread, color, and inset, preview the result, and copy a ready box-shadow property without writing the syntax by hand.

What units are used?

The four numbers are pixels, in the order offset-x, offset-y, blur, and spread.

Can I make an inset shadow?

Yes. Turn on inset so the shadow sits inside the box.

Is the CSS uploaded?

No. The preview and the property are created in your browser.

More questions on the FAQ page · Browse guides

Keep working without leaving the site.