Design Tools

Box Shadow Generator

Design and customize CSS box shadows with live preview. Adjust offset, blur, spread, and color.

box-shadow: 5px 5px 15px 0px #00000040;

Mastering CSS Box Shadows

The CSS box-shadow property adds depth and dimension to your web elements. A well-crafted shadow can make cards feel elevated, buttons feel clickable, and modals feel layered above the page content.

The Box Shadow Syntax

The box-shadow property accepts values in this order: horizontal offset, vertical offset, blur radius, spread radius, and color. The optional inset keyword creates an inner shadow instead of an outer one.