
With Shadow generator, designers and front-end developers can tune an interface before implementation. Compose a CSS box-shadow property.
Compose a CSS box-shadow property. The tool is free in your browser and shows the result without asking you to create an account.
The sample input describes a shifted shadow with blur and a dark colour. After generating, the result shows the corresponding box-shadow property. You can change one value at a time to see how each setting influences the shadow.
Input
2
2
8
1
#000000Output
box-shadow: 2px 2px 8px 1px #000000;Everything happens in your browser. The settings you enter stay on your device and are never uploaded or stored. The CSS property is assembled locally, with no external connection.
Values are usually unitless for offsets and blur, as they represent pixels. You can also add a unit such as px or rem. Keep the same logic for all values.
The field expects a hexadecimal colour. For a transparent shadow, you can use a colour with an alpha channel if the format allows it, but the simplest approach is to choose a solid colour and adjust opacity in your CSS.
Check that the property is applied to an element with a visible size. A blur or spread value that is too small can make the shadow invisible. Also make sure the colour is not identical to the background.