Preview
box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.2);

Free CSS Box Shadow Generator - Visual Design Tool

Design beautiful CSS box shadows visually with real-time preview. Adjust horizontal and vertical offset, blur radius, spread distance, and opacity using intuitive sliders. Perfect for UI designers and frontend developers creating depth and elevation in their web interfaces.

How to Use

Adjust any of the six controls (X offset, Y offset, blur, spread, color, opacity) to see the shadow update instantly on the live preview box. Toggle between regular and inset shadow types. Copy the generated CSS code with one click to use directly in your stylesheets.

Shadow Properties Explained

Design Tips

For realistic material design depth, combine a small offset with moderate blur and low opacity. Multiple box shadows on the same element create layered effects for advanced visual depth. Inset shadows are ideal for pressed button states, recessed card designs, and inner border effects.

Privacy Guarantee

All CSS generation happens locally in your browser - zero data is sent to any server.

Last reviewed: July 2026.