ToolSlash LogoToolSlash
Tools →

CSS Shadow Generator

Guide

CSS Box Shadow Generator Guide

The CSS box-shadow property attaches one or more drop shadows to an element's frame to create visual depth and hierarchy.

Syntax Specification

box-shadow: [inset] <offset-x> <offset-y> <blur-radius> <spread-radius> <color>;
Example: box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

Frequently Asked Questions

What does spread radius do in CSS?
A positive spread radius expands the shadow size in all directions, while a negative value shrinks the shadow perimeter.
How do I create smooth multi-layer elevation?
Combine an ambient low-opacity shadow with high blur alongside a sharper direct key shadow with small offset.