Skip to main content

Box Shadow Generator

v1.0.1

Create CSS box-shadow declarations visually with live preview.

Creates CSS box-shadow declarations visually — adjust x-offset, y-offset, blur, spread, and colour for multiple layered shadows — with live preview and a ready-to-copy declaration.

How to use
  • Use the sliders to position and size the shadow; add a second layer for depth.
  • Enable inset to create inner shadows (e.g. pressed-button effects).
  • Copy the box-shadow: value for use in your component styles.
4px
8px
20px
0px
CSS
box-shadow: 4px 8px 20px 0px #00000040;