Box Shadow Generator
Create and preview CSS box-shadow values visually.
CSS box shadow generator tool
Adjust offset, blur, spread, color, and opacity to create a shadow. Use layered shadows for more natural depth.
Negative moves left, positive moves right.
Negative moves up, positive moves down.
Higher values make softer shadows.
Positive expands, negative contracts.
Lower values create subtle modern shadows.
Sample shadow presets
Live preview
Preview and output
Preview card
Live box-shadow result
Inset status
Disabled
Active opacity
0.16
Generated CSS
Copy this CSS into your stylesheet or component.
.shadow-box {
box-shadow: 0px 8px 24px -6px rgba(15, 23, 42, 0.16);
}Tool support layer
Dynamic shadow insights
How CSS box-shadow works
Offset, blur, spread, color, and inset explained
Layered shadows and design-system notes
Common box-shadow examples
Web design and UI use cases
Privacy and local processing notes
Shadow values are generated locally in your browser. No account is required, generated CSS is not sent to a server, and copied CSS stays under your control.
Method explanation
Frequently Asked Questions
Related tools