ToolSpark

CSS Box Shadow Generator

Create beautiful CSS box shadows with a visual editor. Multiple layers, presets, shapes, and live preview with one-click copy.

Share:𝕏fin
{}

Live Preview

Radius12px

Box Shape

Presets

box-shadow: 
    5px 5px 15px 0px rgba(0, 0, 0, 0.25);
border-radius: 12px;
Ctrl+C copy • Ctrl+Z undo • Ctrl+Y redo

Shadow Layers 1

Layer 1
Offset X5px
Offset Y5px
Blur15px
Spread0px
Opacity25%
5px 5px 15px 0px rgba(0, 0, 0, 0.25)
About CSS Box Shadow

The CSS box-shadow property adds shadow effects around an element's frame. You can set multiple effects separated by commas.

Syntax: box-shadow: [inset] offset-x offset-y blur spread color

  • offset-x - Horizontal shadow offset (positive = right)
  • offset-y - Vertical shadow offset (positive = down)
  • blur - Shadow blur radius (larger = softer)
  • spread - Shadow size adjustment (positive = larger)
  • inset - Makes the shadow inside the element

Pro tip: Layer multiple subtle shadows for a more realistic, natural look. Material Design uses 3 shadow layers for their elevation system.

Frequently Asked Questions

📖 Related Articles

Related Tools