Skip to main content

Box Shadow Generator

Generate CSS box-shadow with a live preview.

Design uses 17.03.2026 Free Browser

Share via

Box Shadow Controls

Multiple Shadows

Shadow 1 0px 4px 8px rgba(0,0,0,0.25)

Live Preview

Preview Element

Generated CSS

                .element {
    box-shadow: 0px 4px 8px rgba(0,0,0,0.25);
}
            

Browser Support

Chrome: 10.0+
Firefox: 4.0+
Safari: 5.1+
Edge: 12.0+

CSS Properties

box-shadow - Standard
filter: drop-shadow() - Alternative
-webkit-box-shadow - Legacy
-moz-box-shadow - Legacy

Preset Shadows

Material Design

Soft Shadows

Modern UI Effects

Glow Effects

Inset & Pressed

Depth Variations

Creative Styles

Professional

Interactive States

Box Shadow Guide

CSS Syntax:

  • box-shadow: offset-x offset-y blur-radius spread-radius color;
  • box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); - Inset shadow
  • box-shadow: 0 2px 4px #000, 0 4px 8px #333; - Multiple shadows
  • • Use none to remove shadows

Design Tips:

  • • Use subtle shadows for natural depth
  • • Consider light source direction
  • • Higher blur = softer, more distant shadows
  • • Spread radius affects shadow size
  • • Combine multiple shadows for complex effects

More from the same category

View all

Learn more