Skip to content
FizzKit

Box Shadow Generator

Tune offset, blur, spread, colour and alpha for any number of shadow layers with a live preview on a card, button, input or text in light and dark at the same time. Start from Tailwind or Material elevation presets, import an existing box-shadow, text-shadow or filter value, reorder layers by drag or keyboard, switch between px, rem and em, and copy the result as CSS or a Tailwind arbitrary class.

Runs locally in your browser
Tailwind
Material elevation
Styles
Preview — light and dark
Layers (1)
0 4px 12px -2px rgba(17, 24, 39, 0.1)

Drag to reorder · Alt+↑/↓ moves the focused row · Delete removes · ⌘D duplicates

0
4
12
-2
10
box-shadow: 0 4px 12px -2px rgba(17, 24, 39, 0.1);
Property
box-shadow
Layers
1
Inset
0
Max blur
12px
Invalid colours
0
Value length
37 chars

How to use Box Shadow Generator

  1. 1Pick box-shadow, text-shadow or drop-shadow() and a preset, or import your own value.
  2. 2Adjust each layer with the sliders, colour and alpha pickers; add, duplicate and reorder layers.
  3. 3Compare the light and dark previews on the element type you are styling.
  4. 4Copy the CSS or the Tailwind class.

About Box Shadow Generator

Tune offset, blur, spread, colour and alpha for any number of shadow layers with a live preview on a card, button, input or text in light and dark at the same time. Start from Tailwind or Material elevation presets, import an existing box-shadow, text-shadow or filter value, reorder layers by drag or keyboard, switch between px, rem and em, and copy the result as CSS or a Tailwind arbitrary class.

Box Shadow Generator is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

Yes. Add layers and the generator outputs a comma-separated box-shadow (or space-separated drop-shadow() chain). Layers listed first paint on top.