CSS Box Shadow Generator

Craft realistic depth and elevation for your web UI cards with TOOLSZEN's CSS Box Shadow Generator. Adjust horizontal offset, vertical offset, blur radius, spread radius, shadow color, and inset mode with live visual feedback, then copy the CSS snippet in one click.

How to Use CSS Box Shadow Generator

  1. Use the sliders to adjust horizontal and vertical shadow offsets.
  2. Fine-tune the blur radius and spread radius to calibrate shadow softness.
  3. Pick your shadow color and adjust alpha transparency.
  4. Click Copy CSS to copy the box-shadow declaration to your clipboard.

Key Features of CSS Box Shadow Generator

  • Visual interactive sliders for X-offset, Y-offset, Blur, and Spread
  • Toggle support for Outset (standard drop shadow) and Inset (inner shadow) modes
  • Real-time box preview swatch displaying your shadow on dark and light themes
  • One-click CSS snippet copying ready for production stylesheets

Frequently Asked Questions

What is the difference between blur radius and spread radius?
Blur radius creates a feathered, hazy shadow edge, while spread radius expands or contracts the actual size of the shadow shape.
What does the Inset option do?
Inset places the shadow inside the boundary of the element, creating a sunken or pressed appearance.
Can I use semi-transparent RGBA shadow colors?
Yes. The color picker includes alpha transparency support so you can create subtle, realistic shadows.

Browse all Utility Tools →

TOOLSZEN