Jump to content
GreenSock

Gabor Ferencz

BusinessGreen
  • Posts

    2
  • Joined

  • Last visited

About Gabor Ferencz

Gabor Ferencz's Achievements

  1. Thanks, Cassie! I figured out the solution. Add start and end properties solved the issue. start: 'top top', end: '+=1000%', Now the timeline length (this way the duration length as well) can be controlled by the distance between the start and end. With +=1000% it slowed down the animations.
  2. I would like to get help, on how to slow down ScrollTrigger fromTo animations. The goal is to increase the duration of the animations (and the positon of the last fromTo), and this will make the animations slower. Since scrub turned true (to control the animation with the scrolling), the duration property does not have any effect. What am I missing? Thank you in advance for your help! tl = gsap.timeline({ scrollTrigger: { trigger: '.feature-holder', scrub: true, pin: true, pinSpacing: true, markers: false, }, }); tl .fromTo( '.feature-overlay', { autoAlpha: 0, }, { autoAlpha: 0.25, duration: 3, }, ) .fromTo( '.feature-text', { autoAlpha: 0, y: 5, }, { autoAlpha: 1, y: 0, duration: 1, }, '>', ) .fromTo( '.feature-text', { autoAlpha: 1, }, { autoAlpha: 0, duration: 1, }, '>+=10', );
×