Skip to main content
T

Box Shadow Generator

Build CSS box-shadow visually — tune offset, blur, spread, color, opacity, and inset with live preview.

Preview

CSS

Send output to:
Advertisement

How to use Box Shadow Generator

  1. Adjust the sliders for X/Y offset, blur, spread, color, opacity.
  2. Toggle inset for inner shadows.
  3. Copy the CSS.

What is Box Shadow Generator?

Sliders for every property of the box-shadow CSS spec. A preview card shows exactly what your shadow will look like. Copy the one-line CSS when you are done.

Advertisement

FAQ

What is spread radius?
Positive spread grows the shadow's size before blurring; negative shrinks it. Combine negative spread with offset for clean directional shadows.
Can I add multiple box shadows at once?
Yes. Add as many shadow layers as you like; they're combined into a single comma-separated box-shadow CSS property you can copy.
What does the inset checkbox do?
Inset draws the shadow inside the element instead of outside, creating a pressed or sunken visual effect on your component.

Related tools

Advertisement