Skip to main content
SwiftTools

CSS Box Shadow Generator

Free CSS box shadow generator. Adjust spread, blur and color to preview and copy a CSS box shadow.

CSS
1
box-shadow rule
box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.15);

The shadow is generated locally as CSS. Nothing is uploaded.

About CSS Box Shadow Generator

Tune offset, blur, spread and color with a live preview, then copy the exact CSS box-shadow value. Fully local, nothing uploaded.

How to use it

  1. 1Set the offset, blur and spread.
  2. 2Choose a color.
  3. 3Copy the generated CSS.

Examples

Soft card

Input
4px 4px 12px #0003
Result
box-shadow: 4px 4px 12px rgba(0,0,0,0.15);

Frequently asked questions

How do inset shadows differ?

An inset shadow is drawn inside the element border box, giving a pressed-in look, while a normal shadow falls outside.