Create beautiful CSS box shadows with a live visual editor. Adjust offset, blur, spread, and color — copy ready-to-use CSS instantly. 100% free and client-side.
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15); The CSS Box Shadow Generator is a visual tool for creating beautiful drop shadows around HTML elements. Unlike static shadow libraries, this tool lets you fine-tune every parameter — horizontal offset, vertical offset, blur radius, spread radius, and color — in real time. It generates standard CSS box-shadow syntax compatible with all modern browsers. Whether you need a subtle material design shadow or a dramatic glow effect, this tool has you covered. All processing happens in your browser — no data is sent anywhere.
A CSS box shadow is a visual effect that adds a shadow around the frame of an HTML element. It is defined by the box-shadow property and consists of horizontal offset, vertical offset, blur radius, spread radius, and color. Shadows can be used to create depth, elevation, and visual hierarchy in web designs.
The spread radius (also called expansion) controls the size of the shadow. A positive value expands the shadow, making it larger than the element itself. A negative value shrinks the shadow. It is the key parameter for creating hard, well-defined shadows versus soft, diffused ones.
An inset shadow appears inside the element's border, creating the illusion of depth or an inner bevel. It is commonly used for pressed-button effects, card embossing, and inner glows. Toggle the "Inset Shadow" option to switch between outer and inner shadows.
Yes. The generated box-shadow syntax follows the CSS standard and works in all modern browsers including Chrome, Firefox, Safari, Edge, and mobile browsers. No vendor prefixes are needed for current browser versions.