Layered text-shadow with neon, 3D, outline and long shadow presets
Box Shadow Generator
Stack several soft shadows into one natural looking elevation and copy the exact CSS.
Loading tool…
How to use box shadow generator
Pick a preset such as Smooth layered, Floating or Hard offset, or start from the default.
Select a layer and set its x and y offset, blur, spread, colour, opacity and inset.
Add, hide, reorder or remove layers until the preview looks right on both backgrounds.
Set the box colour and corner radius, then copy the CSS or the Tailwind classes.
What this tool does
- Up to 10 shadow layers, each with its own offset, blur, spread, colour, opacity and inset switch.
- Shows the same box on a light and a dark background side by side, so you catch shadows that vanish in dark mode.
- Writes one layer per line in the CSS and a matching shadow-[...] arbitrary value for Tailwind.
- Hidden layers are left out of the code, so you can compare with and without a layer.
How the result is verified
The preview element uses the exact box-shadow string shown in the code box, so what you see is what you copy. Paste it into your stylesheet and compare against the preview.
Frequently asked questions
Why stack several shadows instead of one big blur?
Real objects cast a tight dark shadow close to them and a wide faint one further away. Several layers with growing offset and blur, each at low opacity, imitate that and look softer than a single large shadow.
Which layer is drawn on top?
The first shadow in the list. CSS paints box-shadow layers front to back in the order written, which is why the Up and Down buttons change the look when layers overlap.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Soft UI shapes for light and dark mode with a WCAG text contrast check
Thick borders, hard shadows, press states and a text contrast check
Frosted glass cards with backdrop blur, preview and a no-blur fallback
Per-corner and elliptical border-radius with shortest shorthand output