Loading video...
Video Failed to Load
CSS Tip 🤙 You can create this header effect using position: sticky, clip-path, and custom properties 🔥 (Video 👀) header { position: sticky; top: var(--margin); } main { clip-path: inset(var(--header) 0 0 0);) } No mix-blend-mode or animations required ✨ What's the trick then? 🧐 Duplicate the header element... show more
416,831 views • 2 years ago •via X (Twitter)
10 Comments

Here's that @CodePen link! 🚀 Should be all good in all the browsers on this one 🤙 This is the demo for the "Exploding View" demo 👇 There's another demo without the exploding view on my CodePen too ✨

Here's the @CodePen without the exploding view! 🤙

Wow 🤯, this is really cool, I totally thought GSAP was involved when I saw this. I also like the guide that you used. How did you make the "Explode" tutorial guide?

Reminds me of something... @bizar_ro 👀

This is dope! I remember trying to achieve something similar for @sonos but this approach is way simpler 🤦♂️

Sticky sidebar pleeeease

Yo @jh3yy any chance you can check your DMs when you get a spare 5 mins Great work btw!

It's beautiful. Thanks for sharing.

Hello Jhey, can I use your CSS items with proper credit?

You're the king of scroll 😄


