Shadow Controls
Shadow Layers
Preset Styles
Live Preview
CSS Output
box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3);
Create beautiful box shadows with our intuitive tool. Customize every aspect and see the results in real-time.
box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.3);
Our CSS Box Shadow Generator tool makes it effortless to create elegant, professional-looking shadows for your web elements. Whether you're a front-end developer, designer, or hobbyist, this free tool allows you to generate cross-browser-compatible box shadows in real-time, with fully customizable options. The tool supports adding multiple shadows. You can stack them to create complex effects like glowing buttons or depth layers.
Simply adjust the sliders of the CSS Box Shadow Generator or input fields for horizontal and vertical offsets, blur radius, spread radius, and shadow color. You can also toggle the inset option for inner shadows. As you tweak the settings, the preview box updates instantly, showing exactly how your box shadow will appear in your design. Once you're satisfied, copy the generated CSS code with one click and apply it to your project.
The tool generates standard box-shadow
property values compatible with all modern browsers, including Chrome, Firefox, Safari, Edge, and Opera. You can choose to copy only the shadow style or wrap it in a full CSS class declaration.
The CSS box-shadow property applies shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color.
Yes, you can apply multiple shadows to a single element by separating each shadow with a comma. The shadows will be applied front-to-back with the first shadow on top.
The blur radius affects how fuzzy the shadow appears - higher values create more blurred shadows. The spread radius expands or contracts the shadow - positive values cause the shadow to expand, negative values cause it to contract.
Inset shadows are drawn inside the element's border (above the background, below content). They make the element appear pressed into the document rather than raised above it.
No. This is a browser-based tool that works on desktop and mobile devices. No installation or sign-up is required.
Absolutely. All generated code is free to use in both personal and commercial projects.