Scroll-linked animations only using CSS?! Featuring Adam Argyle

Pubblicato il: 15 luglio 2021
sul canale di: Kevin Powell
74,729
2.4k

None other than ‪@AdamArgyleInk‬ has jumped on to help teach me about @scroll-timeline! Make sure to give Adam a follow on Twitter and check out everything he's up to (links below).

Animations are part of CSS, but we often have to use JavaScript to trigger the animations themselves. Well, that's starting to change now with the help of @scroll-timeline, which opens the doors to scroll-linked animations!

As of the time of recording, this is a VERY new, and only available behind a flag in Chrome Canary, but that doesn't mean we shouldn't explore it! If anything, it means that maybe we should play with it even more, as we discuss in the video (along with how it works, of course!)

🔥 The awesome stuff Adam is up to
✅ Adam on Twitter:   / argyleink  
✅ He has a YouTube channel!    / @adamargyleink  
✅ GUI Challenges: https://goo.gle/GUIchallenges
✅ Transition.css: https://www.transition.style/
✅ The CSS Podcast: https://thecsspodcast.libsyn.com/

🔗 Links
Chrome Canary: https://www.google.com/intl/en_ca/chr...
Bramus links mentioned:
- https://www.bram.us/2021/02/23/the-fu...
- https://www.bram.us/2021/03/04/the-fu...
-   / 1366532027680448514  
- https://codepen.io/bramus/pen/vYypmON

⌚ Timestamps
00:00 - Introduction
00:55 - About Adam Argyle
01:40 - Creating a read progression bar
14:47 - Fade in navigation with scroll offsets
27:54 - Fade an image in/out
34:37 - time range and animation duration relationship
38:56 - Animating a clip-path
42:44 - @supports and @prefers-reduced-motion
46:32 - How long do we have to wait?

#css

--

Come hang out with other dev's in my Discord Community
💬   / discord  

Keep up to date with everything I'm up to
✉ https://www.kevinpowell.co/newsletter

Come hang out with me live every Monday on Twitch!
📺   / kevinpowellcss  

---

Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
👕 Buy a shirt: https://teespring.com/stores/making-t...
💖 Support me on Patreon:   / kevinpowell  

---

My editor: VS Code - https://code.visualstudio.com/

---

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Twitter:   / kevinjpowell  
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell

---

And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!


In questa pagina del sito puoi guardare il video online Scroll-linked animations only using CSS?! Featuring Adam Argyle della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Kevin Powell 15 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 74,729 volte e gli è piaciuto 2.4 mille spettatori. Buona visione!