CSS Box Shadow Generator

Set offset, blur, spread, colour and opacity and copy the box-shadow CSS.

Runs on your device. Files are never uploaded.
Report a problem

How to use CSS Box Shadow Generator

  1. Set the offsets, blur and spread
  2. Pick the colour and opacity
  3. Copy the CSS

About this tool

Move the sliders to build a box-shadow, including inner (inset) shadows, and copy the CSS. A matching drop-shadow filter is included for icons.

Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.

Questions

What does spread do?

Spread grows or shrinks the shadow before blurring. A negative spread keeps soft shadows tight to the box.

Guides

Related tools

↑ ↓ navigateEnter openEsc close