CSS box-shadow generator
Create CSS shadows (box-shadow) with a live preview: offset, blur, spread, color, opacity, multiple layers and ready-made presets.
How to useCSS shadow generator
CSS box-shadow generator: what it is for
Adjust the shadow's offset, blur, spread, color and opacity and see the result instantly. Combine several layers for realistic shadows and use the inset option.
There are ready-made presets like soft layered, Material, floating, outline, neumorphism and neon. The CSS code is ready to copy, with the border-radius included.
How to use
- Choose a preset or start from scratch.
- Adjust the layers and colors.
- Copy the CSS.
When to use it
- Adding depth to cards and buttons.
- Creating neumorphism and neon effects.
- Learning how box-shadow works.
Frequently asked questions
How do I make a soft, realistic shadow?
Use several layers with low opacity: a short, sharp one and a long, blurred one. The 'Soft layered' preset already does that.
What is an inner shadow (inset)?
It's a shadow drawn inside the element, giving the impression that it's sunken. Check the 'Inset' option on the layer.
Is it really free?
Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.