Box Shadow Generator
Create custom CSS box shadows with live preview, presets, and copy-ready code.
Build your shadow
Use this for cards, buttons, modals, panels, images, and interface elements that need more depth.
How this box shadow generator works
This box shadow generator helps you build CSS shadows for cards, buttons, panels, modals, images, and other interface elements. You can control the horizontal offset, vertical offset, blur, spread, opacity, colour, and whether the shadow sits outside or inside the element.
It is useful for web design, app interfaces, landing pages, dashboard UI, and any visual layout where you want to add depth, separation, or focus.
The tool generates a live preview and a copy-ready CSS box-shadow value. Small changes can make a box feel softer, stronger, flatter, more elevated, or more pressed into the surface.