Box Shadow Generator
Design multi-layer box-shadow: offset, blur, spread, colour with opacity and inset, plus a one-tap smooth layered shadow. Copy ready CSS or Tailwind code.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Start from a preset or edit the first layer: offset, blur, spread and colour.
- Add more layers for depth, or try “Smooth layered shadow” to generate a realistic multi-layer shadow.
- Change the box and background colours to see the shadow in context, then copy the code.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
Why use multiple layers?
Real shadows are dark and sharp near the object and light and soft further away. Stacking a few small and large layers gives a softer, more realistic shadow than a single one.
What is the difference between blur and spread?
Blur softens the shadow edges; spread grows or shrinks the shadow before blurring. A negative spread with a downward offset gives a nice “floating” look.
Do shadows affect performance?
Very large blurs on many animated elements can slow rendering on weak phones. For static elements it is not an issue.
Related tools
Text Shadow GeneratorAdd text shadows with free layers, an outline around letters, a long shadow or 3D text, with presets like neon and embossed. Try it on your own text and copy the CSS.Neumorphism GeneratorDesign soft raised or pressed neumorphic elements: a light and a dark shadow from the background colour, in flat, concave, convex or pressed shapes with a light direction. Copy CSS or Tailwind.Glassmorphism GeneratorDesign a frosted-glass card with backdrop-filter: tint, transparency, blur, border and shadow, previewed over colourful backgrounds or your own image. Copy CSS or Tailwind.Border Radius GeneratorControl element corner rounding: one value, each corner separately, or 8 elliptical values for organic shapes like eggs and drops. The code is shortened automatically.