How to trigger an animation or event on scroll using Intersection Observer! This is a short clip from an episode where David Khourshid & Stephen Shaw live code a solution to a question on Twitter about transitioning from a static position to fixed with a scroll trigger.

🎥 Want more? Watch the full live episode:

🥊 Challenge:
💻 Code:

Additional Resources:
* Scroll Out

Like what we're doing? There are many ways you can support @keyframers so we can keep live coding awesome animations!

* Like & subscribe on YouTube at
* Buy web dev shirts, stickers & more at
* Follow & tweet us at
* Support us on Patreon at