Get the latest tech news

Next-level frosted glass with backdrop-filter


Glassy headers have become a core part of the “slick startup” UI toolkit, but they’re all missing that final 10% that really makes it shine. In this tutorial, you’ll learn how to create the most realistic lush frosted glass anywhere on the internet.

At the bottom of this blog post, I’ll include the full copy-ready code, which uses feature queries to make sure that older browsers still have a usable experience. As if this stuff wasn’t complicated enough already, Artur Bien came up with an extra twist; we can create the illusion of a 3D piece of glass by adding a second blurred element with different filter settings: It’s called CSS for JavaScript Developers(opens in new tab), and it’s built using the same tech stack as this blog: it’s chock full of interactive articles, demos, and opportunities to experiment.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Level

Level

Photo of filter

filter

Photo of frosted glass

frosted glass

Related news:

News photo

Frosted glass from games to the web

News photo

iMac (M4) review: A mini upgrade to Apple’s entry-level all-in-one

News photo

Steam Games Must Fully Disclose Kernel-Level Anti-Cheat On Store Pages