Next-level frosted glass with backdrop-filter • Josh W. Comeau
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.
Introduction One of my all-time favourite CSS tricks is using backdrop-filter: blur() to create a frosted glass effect. I use it in just about every project I work on, including this blog! Here’s a quick demo, to show what I’m talking about: Some Example Website https://www.joshwcomeau.com/example-website Some Website This is an example website showing how I typically use backdrop-filter to create glassy headers. Notice that as the cupcake moves behind the header, it appears blurry, as it would if it was passing behind frosted glass. Play/Pause Animation This effect helps us add depth and real
related reading
- Liquid glass for the webglass.outpacestudios.com
- Shadersshaders.com
- Paper Shaders – Ultra-fast zero-dependency shadersshaders.paper.design
- Component Tutorialspixel-perfect.space
- The Art Of SVG Filters And Why It Is Awesome — Smashing Magazinesmashingmagazine.com
- Dia Browser's gradientarlan.me
- Liquid metal — Animated metal shader effectmetal.jakubantalik.com
- Online Image & Video Effect Generator – Free | Effect.appeffect.app
- GitHub - josephmiclaus/p5.grain: Conveniently add film grain, seamless texture overlays, and manipulate pixels to achieve nostalgic and artistic effects in p5.js sketches and artworks.github.com
- Unicorn Studio — No-code WebGL Toolunicorn.studio
- Image to Mesh Gradientphotogradient.com
- On Rendering the Sky, Sunsets, and Planets - The Blog of Maxime Heckelblog.maximeheckel.com