Back to all tools

Box Shadow Generator

Design beautiful, consistent depth effects for your web elements.

Offset & Size

10px
10px
15px
0px

Color & Style

0.2
#000000
Inset Shadow
Copy CSS

CSS Output

box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.2);

How to Create Perfect Shadows

1

Set Offsets

Move the shadow horizontally or vertically to simulate light direction.

2

Adjust Softness

Increase blur for a soft, natural look, or adjust spread to change the size.

3

Copy & Use

Pick a color and opacity, then copy the generated CSS directly into your project.

Frequently Asked Questions

What is "Blur Radius"?

The blur radius determines how "fuzzy" the shadow is. A value of 0 creates a sharp, solid shadow. Higher values make the shadow softer and more diffused.

When should I use an "Inset" shadow?

Inset shadows appear inside the element, creating a "pressed" or "carved" effect. This is popular for input fields or buttons that are in a pressed state.

Is RGBA better for shadows?

Yes, using RGBA (Red, Green, Blue, Alpha) allows you to control the transparency of the shadow. Transparent shadows (like 10-20% opacity) look much more realistic on web pages.