piko

CSS Box Shadow Generator

Preview a CSS box shadow with adjustable offsets, blur, spread, color, and opacity.

Runs on your device. Nothing you add is uploaded.

px
px
px
px
%
CSS
box-shadow: 0px 10px 24px -4px rgb(23 20 42 / 25%);

How to use CSS Box Shadow Generator

  1. Set the horizontal and vertical offsets.
  2. Adjust blur, spread, color, and opacity against the preview.
  3. Turn on Inset for an inner shadow and copy the CSS.

Questions

What is the difference between blur and spread?
Blur softens the edge. Positive spread expands the shadow, and negative spread shrinks it.
Can offsets be negative?
Yes. A negative horizontal offset moves the shadow left and a negative vertical offset moves it up.

How this works

Builds and previews a CSS box-shadow declaration locally from the controls.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy