🟦

CSS Box Shadow Generator

Create custom CSS box shadows visually with sliders for offset, blur, spread, color, and inset — then copy the CSS.

Loading tool...

About This Tool

The CSS Box Shadow Generator lets you craft pixel-perfect drop shadows without memorizing the box-shadow syntax. Adjust horizontal and vertical offsets, blur radius, spread radius, and color using intuitive sliders, then toggle the inset option to switch between outer and inner shadows. The preview updates instantly so you always see exactly what your shadow will look like in a real browser.

Box shadows are one of the most versatile tools in a front-end developer's toolkit. They add depth, highlight interactive states, create card elevations, and simulate lighting effects. Getting the values just right used to mean writing code, refreshing the browser, and tweaking by hand — this generator collapses that loop into a single interactive panel.

Once you're happy with the result, click "Copy CSS" to grab the ready-to-paste box-shadow declaration. The output is clean, minimal, and works in all modern browsers without any prefixes. Use it to style buttons, cards, modals, images, and any other element that needs a polished shadow effect.