Chapter 07 of 11Part 3 · GSAP

A GSAP tutorial: tweens, eases and stagger

What GSAP is, when it beats CSS, how to load it, and the four tween methods, eases and stagger you will use most.

9 minBy Zuzo StudioUpdated

9 min

In this chapter you will

  • decide when an animation is worth GSAP and when CSS is enough
  • load GSAP and write tweens with gsap.to, from, fromTo and set
  • rebuild your hero heading reveal with gsap.from and a stagger

Before you startThis builds on Transform, opacity and compositor only animation.

Check your understanding

3 questions

Q1A heading is styled where it should end up. You want it to rise into that place on load. Which method fits best?

Show the answer

gsap.from(".title", { y: 40 }) from() starts at the values you give and ends at the element's current ones, so the CSS stays the final state and the tween only says where it comes from.

Q2Which of these is the best reason to load GSAP rather than use CSS?

Show the answer

An intro of eight overlapping steps that must reverse when a menu closes mid way Long overlapping sequences and reversing from any point are exactly what GSAP and its timelines are built for, and they are painful to manage with CSS delays.

Q3Ten cards should reveal in exactly one second in total, however many cards a CMS returns. Which stagger setting does that?

Show the answer

stagger: { amount: 1 } amount shares one total time out across all the targets, so the reveal takes the same time whatever the count.

Key takeaways

  1. GSAP earns its place for sequences, control from code, scroll and values CSS cannot animate; hovers and small loops stay in CSS.
  2. gsap.from suits entrances because the element's CSS stays the final state, and fromTo suits tweens that may run more than once.
  3. GSAP's x, y, rotation and scale shorthands combine into one transform, so separate tweens on them do not overwrite each other.
  4. The default tween lasts 0.5 seconds with a power1.out ease; .out suits arrivals, .in departures and .inOut moves across the screen.
  5. GSAP is free to use on commercial sites under its own Standard No Charge licence, which only prohibits tools that compete with Webflow's visual animation builder.
Up next · Chapter 08 · 8 min The GSAP timeline: sequencing a hero intro How timelines place tweens in time with the position parameter, labels and defaults, and how to play, reverse and replay them.

02FAQ

Questions on this chapter

Something else on your mind? Email the studio and a designer, not a salesperson, replies within a day.

Is GSAP free for commercial use?

Yes. Under the Standard No Charge GSAP License, effective 30 April 2025, GSAP and all its plugins can be used on commercial websites and apps at no charge. The one prohibited use is building a visual, no code animation tool that competes with Webflow's.

Should I use GSAP or CSS animations?

Use CSS for hover and focus states, simple entrances and small loops, because they need no library. Use GSAP when you need long sequences, control from JavaScript such as reversing mid way, scroll driven animation or values CSS cannot animate.