Загрузка видео...
Не удалось загрузить видео
CSS Tip! 📜 You can create scroll-driven micro-interactions with animation-timeline and custom properties 🔥 .search { animation: shrink; animation-timeline: scroll(); animation-range: 0 calc(var(--header-height) * 0.5); } @keyframes shrink { to { width: calc(100% - var(--button-size); } } The --header-height is being used to dictate the container height for the... show more
495,397 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

Here's that @CodePen link! 🚀 Will work in all browsers 🤙 Where CSS animation-timeline isn't supported, GSAP ScrollTrigger will do the work for you 😉 You get the smooth scrubbing with GSAP too 🤤

This one's a little revisit of this conference demo 👇 Refreshed with the new CSS syntax and JS support for browsers that don't support the new scroll APIs 🤙

Hey man, do you have an animation course or YouTube channel?

This things you do, can only be done by you. Been looking for a way to achieve this effect

See any other fun scroll effects you like, tag me! 🤙

Man you make me wanna go deeeeep into learning crazy css animations :D

@abuzackariyya Do it! 💯⚡️ A lot of fun. Kinda how I got myself into web development. Came from Java to JavaScript. Played with 3D CSS and animation in my spare time to learn CSS 😅

banger

🙏🙏🙏

🔥
