Loading video...
Video Failed to Load
DOM magnifier with CSS && SVG 🔍 .magnifier { position: fixed; left: 0; top: 0; translate: var(--x) var(--y); backdrop-filter: url(#magnifier); } Could use it in a [popover] 🤙
104,100 views • 2 years ago •via X (Twitter)
10 Comments

Here's the @CodePen 🤙 Shame about the Firefox && Safari compatibility 🙃 There is probably a way to get the SVG filter working But still makes for a cool demo magnifier in a Chrome extension 👀

Prompted by the recent CodePen filter challenge ⭐️ Went poking around, here's a good article over on @smashingmag that digs into using displacement filters to achieve different effects 🙏 Covers some of the support gotchas too!

The tweet showcases a CSS & SVG-based DOM magnifier that could be used in a popover. Interesting approach to implement a magnifier UI element.

@jordanmoore 👀

SVG stuff is so cool. I feel like there's a lot of stuff we can do with those filters that I'm just not aware of yet.

Super cool

Awesome!

Wow! Well done!

I wanna have your grid background. Please. Sir.

Hey @jh3yy can I use this in one of my projects?
