CSS Box Shadow Generator

Build single or layered box shadows with live preview. Adjust offset, blur, spread, color and opacity — then copy the CSS in one click.

Preview area background
Generated CSS

CSS box-shadow syntax

Full syntax: box-shadow: [inset] offset-x offset-y blur-radius spread-radius color;

Values explained:

Multiple shadows: Separate each shadow definition with a comma. The first shadow in the list is rendered on top.

Example: box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);

Browser support: box-shadow is supported in all modern browsers (Chrome, Firefox, Safari, Edge) without any prefix. It has been supported since IE9.