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 CSS values, you can use 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 object and generates the corresponding CSS code, which you can copy and paste directly into your stylesheet.
How to Use
- Use the sliders to adjust the shadow's properties: "Horizontal Offset," "Vertical Offset," "Blur Radius," and "Spread Radius."
- Use the "Opacity" slider and the color picker to set the shadow's color and transparency.
- Toggle the "Inset" switch to change the shadow from an outer shadow (default) to an inner shadow.
- Observe the live preview on the right to see how your changes affect the element's shadow.
- 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.