Skip to main content
CSS Tools
Popular
Recently added

CSS Box Shadow Generator

Build CSS box-shadow values with live preview controls.

Introduction

CSS Box Shadow Generator gives you interactive sliders and a live preview for crafting box-shadow CSS without guessing pixel values.

Features

  • Offset, blur, and spread sliders
  • Custom shadow color
  • Live preview
  • Copy CSS output

How to use

  • 1
    Adjust the sliders and color field.
  • 2
    Preview the shadow on the sample card.
  • 3
    Copy the CSS declaration.

Example

Soft shadow

Input
4 8 24 0 rgba(0,0,0,0.24)
Output
box-shadow: 4px 8px 24px 0 rgba(0,0,0,0.24);

Benefits

  • Use Box Shadow without installing a desktop app or browser extension.
  • Works well alongside Gradient Generator and Color Picker for adjacent steps in the same workflow.
  • Results stay in this browser tab until you copy or download them.

FAQs

This version generates a single shadow layer. You can combine copied values manually.

Not yet - output is an outset box-shadow.

No.

Pair Box Shadow with Gradient Generator, Color Picker, HEX ↔ RGB. See Related tools on this page.


Developer resources