ToolBunny LogoToolBunny
Back to Homepage
CSS Box-Shadow Generator

Design beautiful CSS box shadows with a live preview.

10px
10px
5px
0px
20%
#000000
box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.2);
About This Tool

The CSS Box-Shadow Generator provides an intuitive, visual interface for creating complex and beautiful `box-shadow` effects for your web projects. Instead of manually typing and guessing CSS values, you can use interactive sliders and color pickers to adjust properties like horizontal and vertical offset, blur radius, spread radius, color, and opacity. The tool provides a live preview of the shadow effect on an element and generates the corresponding CSS code, which you can copy and paste directly into your stylesheet to achieve the perfect depth and layering in your designs.

How to Use
  1. Use the sliders to adjust the shadow's properties: "Horizontal Offset," "Vertical Offset," "Blur Radius," and "Spread Radius."
  2. Use the "Opacity" slider and the color picker to set the shadow's color and transparency.
  3. Toggle the "Inset" switch to change the shadow from a standard outer shadow (default) to an inner shadow for a different effect.
  4. Observe the live preview on the right to see how your changes affect the element's shadow in real-time.
  5. Once you are satisfied with the result, click the copy icon in the "Generated CSS" card to copy the `box-shadow` rule to your clipboard.