CSS Box Shadow Generator

Add or remove layers and adjust the values in your layers. The code block below shows how the box-shadow looks and the CSS code that creates it.

box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 10px 20px 0px rgba(0, 0, 0, 0.05), 0px 20px 40px 0px rgba(0, 0, 0, 0.05);

Description

X: This value controls the horizontal displacement of the shadow. It is officially called offset-x. The minimum value is -100 and the maximum value is 100 in this tool.

Y: This value controls the vertical displacement of the shadow. It is officially called offset-y. The minimum value is -100 and the maximum value is 100 in this tool.

Blur: This value controls the radius for the blur effect. It is officially called blur-radius. The minimum value is 0 and the maximum value is 150 in this tool.

Spread: This value controls the radius for the spread effect. It is officially called spread-radius. The minimum value is -50 and the maximum value is 50 in this tool.

Color: This value controls the color of the shadow. It is officially called color.

Inset: This value controls whether the shadow is inset or not.