Instructions · CSS Box Shadow Generator
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Adjust the default layer, add more layers, or go to Layer Presets and open a JSON file or the sample.
- 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.
- Use Copy CSS or Download CSS. Apply the generated .box-shadow class to your element.
- Download Preset saves your settings as version 1 JSON. Presets can contain one to twelve layers and be up to 64 KiB.
- 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.