CSS Shadow Generator

Design and generate CSS box-shadow styles.

Preview

About the CSS Box-Shadow Generator

This tool provides a user-friendly, visual interface for creating CSS `box-shadow` effects. Instead of guessing values, you can use the sliders and color picker to design the perfect shadow for your elements. The generator provides a live preview and outputs the exact CSS code you need, making it simple to add depth and dimension to your web designs.

How to Use This Tool

  1. Adjust Sliders: Use the sliders to control the Horizontal and Vertical offsets, Blur Radius, and Spread Radius of the shadow.
  2. Choose Color: Click the color swatch to pick a shadow color and adjust its opacity.
  3. Toggle Inset: Use the "Inset" switch if you want the shadow to appear inside the element instead of outside.
  4. Live Preview: A preview of the shadow effect is shown in real-time.
  5. Copy CSS: The generated `box-shadow` CSS rule appears at the bottom, ready to be copied with a single click.