Hi everyone,
New to GSAP, and new to the forum. Awesome to be here and can't wait to start using this more in future projects.
I am building a site in Webflow, and what I need to do is have an animation start/finish before horizontal scrolling initiates. Currently it starts immediately (which is probably whatI have in my code lol). Here is the Figma prototype, and my code so far as well.
let workTl = gsap
.timeline({
scrollTrigger: {
trigger: ".section_partners",
start: "top top",
end: "bottom, bottom",
scrub: 1
}
})
.to(".track", {
xPercent: -100,
ease: "none"
});
gsap
.timeline({
scrollTrigger: {
trigger: ".partner_content",
start: "left left",
end: "right left",
containerAnimation: workTl,
scrub: true
}
})
.to([".reviews_card.is-1", ".reviews_card.is-2", ".reviews_card.is-4"], {
x: 0,
y: 0,
duration: 0.3,
ease: "bounce.out"
});
let howTl = gsap.timeline({
scrollTrigger: {
trigger: ".section_how",
start: "top top",
toggleActions: "play pause resume reset"
}
});
cc69ceca-2d52-4b3d-af49-48fed6d8256f.mp4