HomeCSS ToolsBox Shadow Generator

Box Shadow Generator

Create beautifully smooth CSS box shadows with live preview.

10px
10px
20px
0px
#000000
25%
box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.25);

About this tool

The Box Shadow Generator lets you visually design CSS box shadows with interactive sliders for horizontal offset, vertical offset, blur radius, and spread radius. You can set the shadow color and opacity, toggle inset mode, and copy the generated CSS property with one click. The live preview updates instantly as you adjust the controls.

Box shadows are one of CSS's most versatile visual effects, used to create depth, elevation cues, glowing highlights, and subtle card separation. Getting the values right by hand involves a lot of trial and error — this generator eliminates that by letting you see the effect immediately while you drag the sliders.

The generated CSS output follows the standard `box-shadow` property syntax and can be pasted directly into any CSS file or style attribute. Multiple shadows can be composed by combining the output of several passes through the generator.