CSS Visual Editor
Create box shadows, text shadows, border radius, gradients, and more with visual controls.
Shadow Properties
Preview Options
Presets
box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.2);
About the CSS Box Shadow Generator
The CSS box-shadow property adds depth to buttons, cards, and modals. Getting the offset, blur, spread, and colour right by hand is tedious — this visual generator lets you drag sliders and see the result live.
When it looks right, copy the cross-browser CSS and paste it straight into your stylesheet.
How to use the CSS Box Shadow Generator
-
1
Adjust offsets
Set the horizontal (X) and vertical (Y) offset to position the shadow.
-
2
Tune blur and spread
Increase blur for a softer shadow and spread to grow or shrink it.
-
3
Pick a colour
Choose the shadow colour and opacity, and toggle inset if needed.
-
4
Copy the CSS
Copy the generated box-shadow rule into your project.