← All tools

DEVELOPER TOOL

Box Shadow Generator

Create CSS box shadows with offsets, blur, spread, opacity, and inset controls.

box-shadow: 12px 12px 24px 0px rgba(38, 50, 56, 0.25);
px
px
px
px
%

The preview and CSS are generated locally in your browser. Negative horizontal/vertical offsets move the shadow left/up, and inset shadows render inside the element.

Shadow rendering and edge appearance vary slightly by browser and element styling. Very large offsets or blur values may fall outside the intended preview area.

Shadow settings are processed locally in your browser and are not uploaded.

How to use Box Shadow Generator

  1. Adjust horizontal and vertical offset, blur, and spread.
  2. Choose a shadow colour, opacity, and inset mode.
  3. Copy the generated box-shadow CSS.

What does spread do?

Spread expands or contracts the shadow before blur is applied. Negative spread contracts it.

Can I create an inset shadow?

Yes. Enable Inset shadow to render the shadow inside the element instead of outside.

Is the preview generated locally?

Yes. Preview and CSS generation happen entirely in your browser.