Output will appear here
Click in the output to select all text
Output will appear here
Click in the output to select all text
Generate linear and radial CSS gradient code with multiple color stops and angle.
Visual color picker showing real-time HEX, RGB, HSL, HSV, and CMYK formats.
Beautify and indent CSS rules, properties, and media queries.
This CSS Box Shadow Generator builds a valid box-shadow declaration from horizontal and vertical offset, blur radius, spread radius, color, and an inset toggle, so you can dial in a shadow visually instead of guessing pixel values. Adjust any control and the CSS updates instantly, ready to copy straight into a stylesheet or component. It's useful for cards, buttons, modals, and any element that needs depth without reaching for a design tool. Everything runs locally in your browser. Scroll down to adjust the controls and copy the generated CSS.
offset-x moves the shadow horizontally and offset-y moves it vertically; positive values shift right/down, negative values shift left/up.
Blur controls how soft/feathered the shadow's edge is; spread expands or contracts the shadow's size in every direction before blurring.
Inset draws the shadow inside the element's border instead of outside it, useful for pressed/inset button or input effects.
Yes, the color field accepts standard CSS color values; for semi-transparent shadows use an rgba() or hsla() value.
This tool generates one shadow layer at a time; for multiple layered shadows, comma-separate multiple box-shadow values in your CSS manually.