Builds a CSS box-shadow with a live preview.
The Box Shadow Generator builds a CSS box-shadow value from horizontal and vertical offsets, blur, spread, and a color, with a live preview so you can see the result as you adjust it. It outputs a ready-to-paste box-shadow declaration and supports an inset toggle, making it handy for quickly dialing in shadows for cards, buttons, and other UI elements.
No. The generator runs entirely in your browser and nothing is uploaded. All values and the preview are computed client-side.
They are treated as pixel values; the generator appends px to whatever number you enter. So entering 4 for Y produces 4px in the output.
The color field is free text, so you can enter any valid CSS color such as an rgba() value, a hex code, or a named color. The default is rgba(0,0,0,0.25).
Yes. Toggling the inset option prefixes the value with the inset keyword, producing an inner shadow instead of an outer one.
The tool generates a single box-shadow value. To stack multiple shadows, you can generate each one and combine them in your CSS, separated by commas.