Summary
Keywords
Full Transcript
Your GSAP scroll animations look amazing on desktop… but what about small devices? 🤔 In this video, we take the split-scroll animation from my previous tutorial and make it FULLY RESPONSIVE using `GSAP.matchMedia()`. 💡 What you’ll learn: • What GSAP matchMedia is and why you should use it • How to create different animations for desktop vs mobile • How to turn complex split-scroll layouts into simple mobile-friendly versions • Best practices for organizing responsive GSAP timelines 👨💻 Tech stack used: • GSAP + ScrollTrigger • matchMedia for responsive animations • HTML & CSS for layout ⏱ Timestamps: 00:00 — Intro 01:08 — Animation before 01:56 — HTML and CSS 03:07 — Old JS logic 04:50 — New logic with matchMedia 10:10 — Recap and outro 📺 Watch the first part (split-scroll desktop version): https://youtu.be/19STv_39DbY?si=2Iw750GDZUBVXpw2 Source Code: https://codepen.io/PixelPerfectLabs/pen/JoXrGgK If you’re building modern landing pages, sections, or interactive scroll experiences, this is how you make sure they **actually work** on phones and tablets. GSAP matchMedia Tutorial: Make ScrollTrigger Animations Fully Responsive The ABSOLUTE BEST Way to Make GSAP ScrollTrigger Animations Fully Responsive #GSAP #matchMedia #ScrollTrigger #ResponsiveDesign #JavaScript #WebDevelopment #WebAnimation #Frontend #MobileFirst
