CSS backdrop-filter Property Explained

What the CSS backdrop-filter property does, with an example.

Published November 6, 2026

backdrop-filter applies effects such as blur to the area behind an element, creating the frosted-glass look. The element must be partly transparent to show it.

How it works

It works on what's rendered behind the element, not its children. Use with a semi-transparent background.

Check browser support and provide a fallback colour.

Values and effects

backdrop-filter: blur(10px); → frosted glass
backdrop-filter: blur(8px) saturate(150%); → vibrant glass
backdrop-filter: brightness(.8); → dim behind

Practical examples

Glass navbar

.nav { background: rgba(13,17,23,.6); backdrop-filter: blur(12px); }

Modal backdrop

.backdrop { background: rgba(0,0,0,.3); backdrop-filter: blur(4px); }

Fallback

@supports not (backdrop-filter: blur(1px)) { .nav { background: rgba(13,17,23,.95); } }

Common mistakes

  • Opaque backgrounds hiding the effect.
  • Large blurred areas hurting performance.
  • No fallback for unsupported browsers.

Key takeaways

  • backdrop-filter in one line: backdrop-filter applies effects such as blur to the area behind an element, creating the frosted-glass look.
  • Inspect it live in DevTools → Styles.
  • Test across browsers and screen sizes.

FAQ

Why does it not work?

The element's own background is opaque, or an ancestor creates a conflicting stacking context.

Is backdrop-filter supported in all browsers?

Yes in all modern browsers; check caniuse.com for edge cases.

More CSS articles