Générez de belles ombres CSS avec aperçu en temps réel. Ajustez le décalage horizontal, vertical, le rayon de flou, l'étendue et la couleur — copiez le code CSS généré instantanément.
Ajustez les contrôles pour voir l'effet d'ombre en temps réel
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15); Our CSS Box Shadow Generator is a free online tool that helps web designers and developers create beautiful, customizable box shadows for their websites. With a live visual preview and instant CSS code generation, you can experiment with different shadow effects — from subtle material shadows to glowing neon effects — and copy the code directly into your stylesheet. All processing happens in your browser, ensuring complete privacy.
A CSS box shadow is a visual effect that adds a shadow behind or inside an HTML element. It creates depth and elevation, making flat designs look more realistic and interactive. The effect is created using the CSS box-shadow property.
Yes, our CSS Box Shadow Generator is completely free to use. There are no ads, no sign-ups, and no limitations. You can generate as many shadows as you need.
CSS box-shadow is supported in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. It has been widely supported since around 2011, so compatibility is excellent.
This tool generates a single shadow at a time. For multiple layered shadows, you can generate each one separately and combine them manually in your CSS using comma-separated values in the box-shadow property.
An inset shadow appears inside the element rather than outside. It creates a recessed or pressed effect, commonly used for buttons that look pushed in or for creating inner depth on containers.
To create a glow effect, set both Horizontal and Vertical Offset to 0, use a larger Blur Radius (15-30px), choose a bright color, and increase the opacity. You can also add a positive Spread Radius to intensify the glow.
While CSS box-shadow is well-supported, subtle rendering differences can occur between browsers due to how each engine handles anti-aliasing and color blending. The differences are usually minor and the shadow will look great across all modern browsers.
Absolutely! The CSS code generated by this tool is standard CSS that you can use in any project — personal, commercial, or open source. There are no restrictions on how you use the generated code.