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);
Drop Shadow
Embed

Embed this tool on your site

Powered by Patrache Studio DevTools
Last updated: 2026 · Free online tool

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

  1. 1
    Select Preset— Start quickly with a preset button.
  2. 2
    Adjust Sliders— Adjust the shadow using X/Y offset, blur, and spread sliders.
  3. 3
    Preview— Check the result in real-time in the preview above.
  4. 4
    Copy 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.

This site uses cookies for better experience and advertising. Learn more

Please allow ads on this site

To use these tools, allow ads on this site. Advertising keeps this service free.

Open your ad blocker, turn off blocking for this site, then check again.