Загрузка видео...
Не удалось загрузить видео
Future CSS Tip! 🔮 You can create sweet scroll-driven micro-interactions using CSS scroll-driven animations 😎 .avatar { animation: scale-down; animation-timeline: scroll(); animation-range: var(--header-range); } @ keyframes scale-down { to { scale: 0.3; } } What's happening in this one? 👀 1. Avatar moves and scales down as the header... show more
685,297 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

Here's that @CodePen link! 🚀 Hop into Chrome 115+ and take it for a spin 🤙

Did you come up with this? This is mind blowing since I’m just getting used to parent child relationships. Def gonna try this out!

Yeah, it's a combination of a couple of demos I built last year for speaking at conferences ✨ Fun part was filming myself for the image 😅
This looks so cool! I've got a slight issue on Chrome Android where the background image is halfway across the page. Definitely going to be having a play with this!

Ahh – Thanks for pointing this out Alex 🙏 I think I've fixed it 🤞 Needed to set some max-widths, etc. Glad you like it!

I'm out here lookin at your css like

Well done 🫡

Thanks Jesse 🙏

Nooice 🔥

@artsnux 🙏🙏
