Loading video...
Video Failed to Load
CSS Scroll-driven knockout text using SVG filter 🥊 section { filter: url(#knockout); } section h1 { animation: shrink; } @keyframes shrink { 0% { scale: 36; }} Animate text scale on a video overlay ✅ Knock out text using SVG filter ✅ Drive with scroll ✅
99,976 views • 1 year ago •via X (Twitter)
9 Comments

Here's the @CodePen if you wanna play with it 🤙 If you want me to polyfill the scroll stuff with GSAP, lemme know and I'll update the demo 🚀

clean ass effect but you got to clean up those tabs bro

OMG you're the GOAT. i need this.

Hey @jh3yy , looking awesome, could you please drop a link to this page if you have it. TY

Please, we need a codepen for this 🥹

Let's say I have a procedural animation being rendered to a canvas element, rather than a video playing. Can I translate these concepts to work with that instead???

For real 💯 You can put anything behind it. It's an element with a black background and white color. The SVG filter jus' takes out all the white pixels 🤙

How is the support on browsers looking like?

No codepen link? 🥲💔 (Amazing effect btw)
