Instructions · CSS Box Shadow Generator

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Adjust the default layer, add more layers, or go to Layer Presets and open a JSON file or the sample.
  3. Select a layer to adjust its offsets, blur, spread, hex color, opacity and inset setting. Move layers up or down to change their paint order.
  4. Use Copy CSS or Download CSS. Apply the generated .box-shadow class to your element.
  5. Download Preset saves your settings as version 1 JSON. Presets can contain one to twelve layers and be up to 64 KiB.
  6. Offsets and spread range from −512 to 512 px, blur from 0 to 256 px, and opacity from 0 to 100 percent. Numeric inputs allow two decimal places.

Edit one to twelve shadow layers. Load or save version 1 JSON presets.