GSAP Animations
Learn intentional and performant web animations using GSAP. From fundamentals, timelines, and interactions to ScrollTrigger and an accessible landing page.
6 chapters · 36 lessonsBeginner friendlyFreeRuns in the browser
What you will learn
- Describe motion in a controlled manner
- Coordinate multiple steps
- Couple motion to user actions
- Design scroll behavior meaningfully
- Reliably limit motion
- Bring content and motion together
Course content
Chapter 1 First Animations
Describe motion in a controlled manner
- Introduction to GSAP
- The gsap.to() Method
- Duration, Delay, and Easing
- Transforming Properties
- Debugging Attributes
- Mini-Project: Greeting Card
Chapter 2 Timelines
Coordinate multiple steps
- Introduction to gsap.timeline()
- Sequencing with .to()
- Timeline Parameters and Defaults
- Timestamps and Overlaps
- Timeline Debugging
- Mini-Project: Sequenced Product Presentation
Chapter 3 Interaction
Couple motion to user actions
- Introduction to Event Listeners with GSAP
- Hover Effects with .enter() and .leave()
- Controlling Timelines: play(), pause(), and reverse()
- Avoiding Animation Queues
- Debugging Event Bindings
- Mini-Project: Interactive Accordion Menu
Chapter 4 ScrollTrigger
Design scroll behavior meaningfully
- Introduction to ScrollTrigger
- Triggers and Markers: trigger and start
- Scroll Properties: scrub and toggleActions
- Predicting Scroll States
- ScrollTrigger Debugging
- Mini-Project: Scroll-Based Storytelling Section
Chapter 5 Robust and Performant
Reliably limit motion
- Performance Optimization with will-change and force3D
- Respecting prefers-reduced-motion
- Memory Cleanup and gsap.killTweensOf()
- Predicting Layout Thrashing
- Debugging Memory Leaks and Overlapping Triggers
- Mini-Project: Performant and Accessible Dashboard
Chapter 6 Landing Page Project
Bring content and motion together
- Structuring the Landing Page
- Hero Section with Timeline
- Scroll-Based Feature Boxes
- Predicting Overall Behavior
- Debugging the Integrated Project
- Mini-Project: Accessible GSAP Landing Page
How each lesson works
No hour-long videos. Each lesson is a short loop you complete yourself, until the idea sits.
Read
A short explanation and one clear task. Just enough to get going.
Write
You type the code yourself, in a real editor right in the browser.
Run
Run it and see what your program actually does, straight away.
Check
Check tells you whether the task is solved, and what is missing if not.
Good to know
- Nothing to install: editor, output and checks run in your browser tab.
- Start as a guest without an account; your progress stays on this device.
- A free Ostrae account syncs progress and settings across devices and unlocks the MICA coach.