CSS Single Shadow Preview

Compare inset and outer shadows on a fixed card with light or dark backgrounds.

Enable JavaScript for interactive processing. You can read the instructions, limits, and FAQs below without it. Files are processed only in your browser.

CSS Single Shadow Preview User Guide

Preview a single CSS shadow on a fixed card; adjust offset, blur, spread, color and opacity, then copy the declaration.

How to use

  1. Enter the shadow offsets, blur and spread.
  2. Set the HEX color, opacity and inset option; switch backgrounds to compare.
  3. Copy the CSS declaration and check it on the actual page.

Formats and limits

  • Offsets and spread are limited to -100–100 px, blur to 0–100 px, and opacity to 0–1.
  • Only single shadows and #RGB / #RRGGBB colors are supported; actual backgrounds and clipping can change the appearance.
  • Calculation stays in your browser and is cleared when you leave.

Output

A copyable single-layer box-shadow CSS declaration.

Frequently asked questions

Can I create multiple shadows?

No. This tool previews and outputs a single shadow.

The file name and content are only processed in your browser and are not transmitted to the server. The original file will not be overwritten. Please export the required results before leaving the tool.