Box shadow and glassmorphism generator
Stack shadow layers, tune each one against a live preview, and copy the exact declaration your stylesheet needs — or the Tailwind class that matches it.
- Six shadow layers
- Glassmorphism presets
- CSS and Tailwind output
- Nothing is uploaded
Layers first, then glass
The preview, the CSS and the Tailwind output all read from the same layer list, so what you see is what you paste.
box-shadow: 0px 12px 28px -8px rgba(30, 27, 75, 0.28);
shadow-[0px_12px_28px_-8px_rgba(30,27,75,0.28)]
How it works
CSS tools that run in your tab
No uploads, no sign-ups and nothing to wait for: the the CSS maths runs inside the page itself, so the numbers appear as you type.
1. Pick a starting point
A shadow preset, a gradient or a hex value you already use. All of it lives in page state, so nothing is sent anywhere.
2. Shape it the way you want
Drag the sliders, move a stop or type a colour, and every output updates as you type.
3. Get the output instantly
The preview, the CSS declaration and the Tailwind class update on every keystroke: no submit button, no waiting screen.
4. Check before you ship
Contrast ratios come from the WCAG formula, and the tool says so plainly when a colour cannot be parsed.
Privacy by architecture
Nothing is uploaded — and you can verify it
Privacy claims are cheap, so this one is falsifiable: the app has no upload code path at all.
No upload endpoint exists
None of these tools has a POST route, a storage bucket or a proxy. Open DevTools → Network and use them: the only requests are the page assets.
Your designs stay in memory
Colours, shadow layers and gradient stops live in React state inside the tab and are never persisted. Close the tab and they are gone — nothing survives, because nothing was stored.
Contrast is not the whole audit
Passing WCAG AA proves the ratio, not the design: focus states, tap targets and motion still need their own review.
Free forever, no account required — the tools are static pages that run entirely on the client.
Box shadow FAQ
Paint order, blur versus spread, why inset flips the geometry and what backdrop-filter actually blurs.
How are multiple box shadows drawn?
The first layer in the list is painted on top; every later layer is drawn underneath it. Adding a small dark layer first and a large soft layer second is what makes a card look lifted instead of smudged.
What is the difference between blur and spread?
Blur softens the shadow's edge, while spread grows or shrinks the shadow's own box before it is blurred. A negative spread tightens the shadow so it hugs the element instead of leaking past it.
Why does an inset shadow look inverted?
Because inset paints the shadow inside the element's border box. That flips the geometry: a positive Y offset now darkens the top edge, which is why inner shadows read as depth rather than as a cast shadow.
Why does glassmorphism sometimes look like flat white?
backdrop-filter only blurs what is painted behind the element. Over a solid background there is nothing to blur, so the semi-transparent fill is all you see — put the card over an image or a gradient.
Is the -webkit- prefix still needed?
For Safari 9–17 yes, and it costs nothing, so the generator always emits the prefixed and unprefixed backdrop-filter together. Every other browser ignores the duplicate.
Can Tailwind express a multi-layer shadow?
With an arbitrary value it can, which is what the Tailwind box shows: shadow-[0px_12px_28px_-8px_rgba(30,27,75,0.28),…]. Note that classes cannot contain spaces, so the generator writes underscores instead.
More free tools in the hub
Gradient generator
Build linear or radial gradients with draggable colour stops, an angle dial and a preset library, then copy the CSS background or the matching Tailwind class.
Open toolColours & contrast
Convert any colour between HEX, RGB, HSL, HSV and OKLCH, list every format at once, and score the contrast ratio against AA and AAA for normal and large text.
Open toolCSS animations
SoonPick a keyframe pattern, tune the duration, easing and delay, and copy the @keyframes block with the animation shorthand. In development on the same client-side pipeline.
In development