Box Shadow Generator
Create CSS box shadows with a visual editor. Adjust offsets, blur, spread, and colors. Support for multiple shadow layers.
Preview
8px
Layer 1
0px
4px
6px
-1px
10%
Layer 2
0px
2px
4px
-2px
10%
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
0px 2px 4px -2px rgba(0, 0, 0, 0.1);All shadow generation happens locally in your browser.
How This Tool Was Built
This tool was created entirely by AI. Here's the exact prompt used to generate it:
Prompt Used
Create a Box Shadow Generator tool with these features: 1. Live preview area with customizable box and background colors 2. Shadow layer controls: - X offset slider (-50 to 50) - Y offset slider (-50 to 50) - Blur radius slider (0 to 100) - Spread radius slider (-50 to 50) - Color picker - Opacity slider - Inset toggle 3. Multiple shadow layers: - Add shadow button - Remove and duplicate layer buttons 4. Presets: Subtle, Medium, Large, Inset, Glow, Hard 5. Border radius control for preview box 6. CSS output with copy button 7. Generate rgba() colors from hex + opacity Make it visual and intuitive with purple as the accent color.
Claude AI Model
8,200 Tokens Used
AI-Generated Code Origin