DEV Community

Kamil Pawlak
Kamil Pawlak

Posted on • Edited on

backdrop-filter CSS property comes to Chrome and Chromium-based browsers! (76+)

The backdrop-filter CSS property allows you to enable cool graphical effects, such as blurring, to the area behind an element. It's the easiest way to make blurry backgrounds which are more commonly seen in recent web design projects.

However, there was one gimmick: this feature was only supported in Safari, classic Microsoft Edge (that one with EdgeHTML engine, not the preview) and unofficially in Chromium-based browsers by enabling a special flag. Because none of major browsers (I mean Chrome and Firefox) supported this feature, only about 15% of Internet users could see backdrop-filter in action. Plus the beta Chromium rendering of this feature was buggy and slowed down the whole page.

But things have just changed.

According to caniuse.com, the backdrop-filter feature is finally being officially supported in Chrome starting from version 76, which is currently at preview stage. It should become stable in a few weeks. Other Chromium-based browsers, such as Chromium Edge, Opera etc. should introduce it later (or have introduced).

That means after Chrome 76 goes stable, you will be able to use backdrop-filter without worrying that almost nobody won't see it in action - unless your primary target are Firefox users. That browser hasn't implemented this feature in any part yet 😒.

I've tested backdrop-filter on Chromium Edge and it works flawlessy.

After these support changes, here's an example on how to use backdrop-filter in your CSS:

/* For Chrome & Chromium 76+ */
backdrop-filter: blur(10px);
/* For Safari, classic Edge and Chrome/Chromium <=75 */
-webkit-backdrop-filter: blur(10px);
Enter fullscreen mode Exit fullscreen mode

I think that the wider browser adoption of backdrop-filter property will lead to even more stunning website designs, especially those that utilize some kind of background blurring. Developers can use it without worrying that majority of people won't see it live because their browser doesn't support it. Feel free to use it. Happy coding πŸ‘¨πŸ»β€πŸ’»

Top comments (2)

Collapse
 
cristianh033 profile image
Cristian David Home

Great, Safari, Edge UWP, Edge Chromium and Google Chrome now support backdrop-filter, Firefox is all that's left.

Collapse
 
ricoet22 profile image
Kamil Pawlak

It seems the Firefox team has started working on that. bugzilla.mozilla.org/show_bug.cgi?...