Help us improve
0px 4px 6px -1px rgba(0, 0, 0, 0.1)
shadow-[0px_4px_6px_-1px_rgba(0,_0,_0,_0.1)]
{{ boxShadow: "0px 4px 6px -1px rgba(0, 0, 0, 0.1)" }}Click any shadow to apply it to the preview above
See your shadow update instantly as you adjust settings. No guesswork—what you see is exactly what you get.
Stack multiple shadow layers for complex effects. Create depth and dimension with layered shadows like the pros.
Start with professional presets like Subtle, Elevated, Glow, or Neon. Perfect starting points you can customize.
Filator's CSS Shadow Generator lets you create beautiful box-shadow and text-shadow effects visually—no coding required. Adjust offsets, blur, spread, and color with real-time preview, then copy the generated CSS code. Unlike most competitors, we support multiple shadow layers, both box and text shadows, and 8 professional presets to get you started instantly.
Stack multiple shadow layers for complex, professional effects. Most generators only support single shadows—we let you create depth with layered shadows like design pros use.
Generate both box-shadow and text-shadow CSS in one tool. Most competitors only offer box shadows—we cover both so you don't need multiple tools.
Start with professional presets: Subtle, Medium, Large, Elevated, Sharp, Glow, Inset, and Neon. One click applies a preset you can then customize. CSS Scan only shows examples—we let you edit them.
Clean interface with zero ads or tracking scripts. Competitors like HTML-CSS-JS are cluttered with ads and consent popups. Our tool loads fast and respects your privacy.
Moves the shadow left (negative) or right (positive). A value of 0 centers the shadow horizontally beneath the element.
Moves the shadow up (negative) or down (positive). Most natural shadows use positive Y values to simulate light from above.
Controls how soft or sharp the shadow edge is. 0 creates a sharp edge. Higher values (10-50px) create soft, diffused shadows.
Expands (positive) or contracts (negative) the shadow. Negative spread with blur creates a focused shadow smaller than the element.
Changes the shadow from outer (default) to inner. Inset shadows appear inside the element, creating a pressed or recessed effect.
Add depth to cards, modals, and containers. Subtle shadows (low blur, low opacity) create elegant elevation without being distracting.
Create interactive button states with shadows that grow on hover. Combine with CSS transitions for smooth elevation changes.
Use colored shadows with high blur and no offset to create glow effects. Perfect for buttons, badges, or highlighting active elements.
Apply text-shadow for headlines, logos, or decorative typography. Layer multiple shadows for 3D text or outline effects.
For realistic shadows, use negative spread values with positive blur. This creates shadows that are slightly smaller than the element, mimicking how real shadows appear. Example: box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1)
CSS box-shadow is a property that adds shadow effects around an element's frame. It takes values for X offset, Y offset, blur radius, spread radius, and color. You can add multiple comma-separated shadows for complex effects.
Box-shadow applies to the entire element's rectangular box. Text-shadow applies only to the text characters inside an element. Text-shadow doesn't support spread radius—only offset and blur.
Click the "Add Layer" button to create additional shadow layers. Each layer can have different settings. The CSS output will be comma-separated values that the browser renders from first to last.
The inset keyword changes the shadow from an outer shadow (default) to an inner shadow. Inset shadows appear inside the element's border, creating a pressed or engraved effect.
Yes, completely free with no limits. No signup required, no ads, and no premium features locked behind a paywall. Use it as much as you need.
Box-shadow is supported in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. It's been fully supported since around 2011, so you don't need vendor prefixes anymore.
Yes, and it's recommended. RGBA allows you to set opacity directly in the color value. Our generator uses RGBA format automatically when you adjust the opacity slider.