☁️
Box Shadow Generator
Build smooth, realistic, multi-layered CSS elevation shadows.
Preview Canvas:
📦
Preview Container
Multi-layered smooth depth
Layer #1 (Outset)
X Offset0px
Y Offset12px
Blur Radius32px
Spread Radius-4px
Opacity12%
Layer #2 (Outset)
X Offset0px
Y Offset4px
Blur Radius12px
Spread Radius-2px
Opacity8%
Generated Code Output
/* CSS */
box-shadow:
0px 12px 32px -4px rgba(0, 0, 0, 0.12),
0px 4px 12px -2px rgba(0, 0, 0, 0.08);
/* Tailwind CSS */
className="shadow-[0px_12px_32px_-4px_rgba(0,0,0,0.12),0px_4px_12px_-2px_rgba(0,0,0,0.08)]"✨ Tool Features
- Multi-layer shadow stacking for realistic depth
- Individual X/Y offset, blur, spread, and opacity sliders
- Inset (inner shadow) toggle
- Dark/Light canvas preview mode
💡 How to Use
- 1Add shadow layers to simulate natural ambient light bounce.
- 2Adjust X, Y, Blur, and Spread sliders for each layer.
- 3Toggle between light and dark canvas backgrounds to verify depth.
- 4Copy the combined CSS `box-shadow` property.