<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>JavaScript Scroll Animation Tutorial | Web Animations API + ScrollTimeline</title>
        <link>https://peertube.lagbag.com/videos/watch/6bbbce97-1598-493d-bae6-3c7d34c933c8</link>
        <description>Scroll-based animations used to be pretty hard and usually meant turning to a library. With the Web Animations API and ScrollTimeline, it's now surprisingly easy to do! 🔗 Links ✅ The Polyfill: https://github.com/flackr/scroll-timeline ✅ The Discord community: https://discord.gg/nTYCvrK ✅ Doing this with CSS only (@scroll-timeline): https://youtu.be/mzKfetD9YrA ✅ Intersection Observers: https://youtu.be/T8EYosX4NOo ✅ Bramus' interactive offset visualizer: https://codepen.io/bramus/pen/OJbZbaX ✅ Fantastic article by Bramus on this topic: https://css-tricks.com/scroll-linked-animations-with-the-web-animations-api-waapi-and-scrolltimeline/ ⌚ Timestamps 00:00 - Introduction 00:57 - Creating a scroll tracker - HTML and CSS 02:50 - The polyfill 03:55 - Creating a timeline for the scroll-tracker 06:34 - Attaching the timeline to the scroll-tracker 09:36 - Changing the scrollOffsets 10:20 - Animating only when an element is in the viewport 17:52 - Animating multiple elements 20:41 - Animating when the element is in different locations on the page #css -- Come hang out with other dev's in my Discord Community 💬 https://discord.gg/nTYCvrK 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! 📺 https://www.twitch.tv/kevinpowellcss Help support my channel 👨‍🎓 Get a course: https://www.kevinpowell.co/courses 👕 Buy a shirt: https://teespring.com/stores/making-the-internet-awesome 💖 Support me on Patreon: https://www.patreon.com/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: https://twitter.com/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!</description>
        <lastBuildDate>Tue, 07 Apr 2026 18:52:27 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube.lagbag.com</generator>
        <image>
            <title>JavaScript Scroll Animation Tutorial | Web Animations API + ScrollTimeline</title>
            <url>https://peertube.lagbag.com/client/assets/images/icons/icon-512x512.png</url>
            <link>https://peertube.lagbag.com/videos/watch/6bbbce97-1598-493d-bae6-3c7d34c933c8</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube.lagbag.com/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube.lagbag.com/feeds/video-comments.xml?videoId=6bbbce97-1598-493d-bae6-3c7d34c933c8" rel="self" type="application/rss+xml"/>
    </channel>
</rss>