CSS Box Shadow Generator
Generate CSS box-shadow values with customizable offset, blur, spread, and color.
px
px
px
px
Result
Shadow Value
0px 4px 6px -1px rgba(0, 0, 0, 0.1)CSS Property
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);Tailwind Class
shadow-[0px_4px_6px_-1px_rgba(0,0,0,0.1)]About This Tool
The CSS Box Shadow Generator creates polished drop shadows, elevation effects, and layered shadows for cards, buttons, and containers. Web designers and frontend developers use it to craft professional UI components without writing shadow code manually.
Adjust offset (X, Y), blur radius, spread distance, and color with visual sliders. The tool generates production-ready CSS instantly and shows a live preview of your shadow on a sample box.
Perfect for prototyping material design shadows, card elevations, and hover effects. Runs completely in your browser—no sign-up, no data storage, and no external requests.