Skip to main content

CSS Box Shadow Generator

Create stunning drop shadows and glowing effects with live preview

Real-time Preview

See shadows update instantly as you adjust

Full Control

Offset, blur, spread, color, and opacity

Color Picker

Select any color and adjust opacity level

Copy Ready

CSS code ready to paste into stylesheet

Shadow Controls
10px
10px
15px
0px
50%
Effect Presets
Live Preview
CSS Code

Box Shadow Parameters

Parameter Meanings
  • Offset X: Horizontal distance (negative = left)
  • Offset Y: Vertical distance (negative = up)
  • Blur Radius: Softness (0 = sharp, higher = softer)
  • Spread Radius: Size increase (can be negative)
  • Color: Shadow color with opacity
CSS Syntax
box-shadow: X Y Blur Spread Color;

Example: 10px 20px 15px 0px rgba(0,0,0,0.3);

Common Applications

Depth & Elevation

Create layered visual hierarchy with shadows

Hover Effects

Enhance interactivity with interactive shadows

Glow Effects

Create neon and glowing appearance effects

Design Polish

Add professional polish to UI designs

Design Tips

  1. Subtle is Better: Start with small shadows and adjust
  2. Consistency: Use same shadow on related elements
  3. Opacity: Shadows are more realistic with transparency
  4. Multiple Shadows: Combine shadows with commas for effects
  1. Performance: Minimal impact on rendering
  2. Accessibility: Ensure text contrast with shadow backgrounds
  3. Animation: Can transition shadow smoothly
  4. Testing: Verify appearance on different devices
Keyboard Shortcuts
Ctrl + Shift + C Copy CSS
Click Preset for quick effects
Use ← → to fine-tune each param
Category Tools