CSS Box Shadow Generator
CSS box-shadow generator with offset, blur, spread, color and inset controls and a live preview of the shadow. Copy ready-to-use box-shadow CSS for any element, free in your browser.
box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.15);Embed
What is CSS Box Shadow Generator?
CSS box-shadow generator with offset, blur, spread, color and inset controls and a live preview of the shadow. Copy ready-to-use box-shadow CSS for any element, free in your browser.
How to Use
- 1Select Preset— Start quickly with a preset button.
- 2Adjust Sliders— Adjust the shadow using X/Y offset, blur, and spread sliders.
- 3Preview— Check the result in real-time in the preview above.
- 4Copy CSS— Use the copy button to get the box-shadow CSS.
Related Tools
Frequently Asked Questions
Yes, use the 'Add Shadow' button to layer multiple shadows.
Yes, enable the Inset checkbox on each shadow to create an inner shadow.
Five presets are provided: Subtle, Medium, Large, Inset, and Double.
Yes, you can directly enter rgba(0,0,0,0.15) format in the color input field.
No. All calculations are done in the browser.