Adjust the shadow
Move the sliders for horizontal and vertical offset, blur and spread.
Design a box-shadow with live sliders for offset, blur, spread and opacity, then copy the CSS.
Drag the sliders; the preview updates as you go.
Need a background too? Use the CSS Gradient Generator.How it works
Move the sliders for horizontal and vertical offset, blur and spread.
Pick the shadow colour and how strong it is, or switch to an inner shadow.
Copy the box-shadow rule and paste it into your stylesheet.
FAQ
1. Adjust the shadow: Move the sliders for horizontal and vertical offset, blur and spread. 2. Choose colour and opacity: Pick the shadow colour and how strong it is, or switch to an inner shadow. 3. Copy the CSS: Copy the box-shadow rule and paste it into your stylesheet.
Blur softens the edge of the shadow. Spread makes the shadow larger or, with a negative value, smaller than the element.
Soft shadows of about 10–25% opacity look more natural than solid black.
No. Shadows are drawn outside the layout and do not move other elements.