CSS Box Shadow Generator Online - Free CSS box shadow generator with visual editor.

Free online CSS box shadow generator. Design layered shadows with live preview. Adjust offset, blur, spread, color, and inset. Copy CSS instantly.

Layer 1
-50px0+50px
-50px0+50px
0px50px100px
-50px0+50px
CSS Code
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.10)

How to Use CSS Box Shadow Generator

  1. 1Add one or more shadow layers using the "Add Shadow" button.
  2. 2Adjust X/Y offset, blur, spread, color, and inset for each layer.
  3. 3Preview the shadow on the box in real time.
  4. 4Copy the generated CSS code.

Frequently Asked Questions

What is CSS box shadow?
CSS box-shadow adds shadow effects around an element's frame. You can set multiple effects separated by commas, controlling offset, blur, spread, color, and inset.
Can I use multiple shadows on one element?
Yes. Click "Add Shadow" to add multiple shadow layers. Each layer can have different offset, blur, spread, and color values. They are combined in the CSS output.
What is the inset shadow?
An inset shadow is drawn inside the element's border, creating a sunken or recessed effect. Toggle the Inset checkbox to switch between outer and inner shadows.
Found a bug or have a suggestion? Report it on GitHub

Learn More