CSS Shadow Generator

Visually create and customize box-shadow effects and get the CSS code.

px
px
px
px
Preview
CSS Code

How to Use This Tool

  1. Use the sliders to adjust the Horizontal Offset, Vertical Offset, Blur Radius, and Spread Radius.
  2. Pick a Shadow Color and adjust its Opacity using the color picker and slider.
  3. Toggle the Inset switch to create an inner shadow instead of an outer one.
  4. Change the Box Color and Background Color to preview how the shadow looks in different contexts.
  5. Copy the generated box-shadow CSS code from the input field at the bottom right.

Related Tools