CSS Box Shadow Generator
A free tool to build CSS box-shadow intuitively with sliders. Adjust X/Y offset, blur, spread, color, opacity and inset, and stack as many shadow layers as you like. Preview instantly and copy the generated CSS with one click. Everything runs in your browser.
How to Use
Adjust the shadow
Move the sliders for horizontal/vertical offset, blur, spread, color and opacity to shape the shadow. Turn on inset for an inner shadow.
Stack layers
Use "Add layer" to stack as many shadows as you want, or pick a preset to apply a polished shadow in one tap.
Copy the CSS
Check the preview, then copy the generated box-shadow code with the "Copy CSS" button and paste it straight into your stylesheet.
About the Box Shadow Generator
A web tool that lets you build the CSS box-shadow property with sliders alone, without memorizing any numbers. Tune offset, blur, spread, color and opacity with a live preview, and stack multiple shadows for depth. Copy the generated code and use it right away in your projects. Everything runs in your browser, so you can use it with peace of mind.
Features
- Live previewThe preview and the generated CSS update instantly as you move the sliders.
- Multiple layersStack any number of shadows to create rich, layered depth.
- Built-in presetsApply polished shadows like Soft, Material and Neumorphism in one tap.
- One-click copyCopy the generated box-shadow CSS and paste it anywhere.
Use Cases
- Add depth to cards and buttons in your UI
- Reproduce Material Design elevation shadows
- Build neumorphism (soft UI) shadows
- Create inner shadows and inset effects
- Learn how CSS box-shadow values behave
FAQ
Is the box shadow generator free to use?
Can I stack multiple shadows?
Does it support inset (inner) shadows?
Is my data sent to a server?
Can I set transparency (alpha) on the shadow color?
Feedback
Missing a feature, or getting a result that looks wrong? Let us know — we improve our tools based on your feedback.