Design soft, layered box shadows visually — adjust offset, blur, spread and colour, then copy clean CSS, SCSS or Tailwind code.
Start from a ready-made shadow, then tweak it.
Stack several shadows for realistic depth.
Copy it straight into your stylesheet.
The syntax is box-shadow: [inset] x y blur spread colour. X and Y move the shadow right and down (negative values go left and up). Blur softens the edge — 0 is a hard edge. Spread grows or shrinks the shadow before blurring; a negative spread keeps the shadow tighter than the box, which looks more realistic. The inset keyword draws the shadow inside the element.
Separate several shadows with commas. The first shadow is painted on top.
Real shadows are soft and layered. Use a low opacity (5–20%), a larger blur than offset, and combine two or three layers — a tight, darker one for contact and a wide, lighter one for ambient light. Keep the light direction consistent across your interface, and tint shadows toward the background colour rather than pure black on coloured surfaces.
Add box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15); to the element’s rule. Use this tool to adjust the values visually and copy the exact line.
Blur controls how soft the shadow edge is. Spread changes the size of the shadow itself: positive values make it larger than the element, negative values make it smaller.
Press “Add layer” to stack shadows. In CSS they are written as a comma-separated list, for example box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.15);.
Tick the Inset option for the selected layer. The inset keyword is added so the shadow appears inside the element’s border.
Choose the Tailwind tab and copy the class, for example shadow-[0_4px_15px_0_rgba(0,0,0,0.15)]. Tailwind uses underscores in place of spaces inside arbitrary values.
It does not affect layout because shadows take no space. Very large blur values on many elements, or animating box-shadow, can be costly to paint, so keep blur moderate and prefer animating opacity or transform on a pseudo-element.
Yes, it is free, needs no sign-up and runs entirely in your browser.