CSS Box Shadow Generator

Layers:

Layer 1

Horizontal: 4px

Vertical: 4px

Blur: 12px

Spread: 0px

Color:

Opacity: 25%

Preview
Element
CSS Output
How to use
  1. 1.

    Use the sliders to adjust horizontal offset, vertical offset, blur, and spread

  2. 2.

    Pick a shadow color and set opacity

  3. 3.

    Add additional shadow layers for more complex effects

  4. 4.

    Copy the CSS output and paste it into your stylesheet

Common uses
  • Designing card or button shadows for web UI components

  • Creating layered shadow effects that mimic material depth

  • Quickly generating inset shadows for pressed or inset elements

  • Copying production-ready CSS without writing it by hand