Jump to content
Search Community

Bohdan.

Members
  • Posts

    2
  • Joined

  • Last visited

Bohdan.'s Achievements

  1. @Rodrigo Thank you a lot! Your variant works as it should. I thought it was good to use Timeline for a few animations. That it will be more elegant )
  2. Hi to all! I need to play the animation right away without scrub control. When the trigger fires - animation play with duration. gsap.timeline .from('.image', { opacity: 0, y: 80, ease: 'power2.ease', duration: 1, scrollTrigger: { trigger: '.image', start: 'top bottom-=10%' } }) .from('.image-2', { opacity: 0, y: 80, ease: 'power2.ease', duration: 1, scrollTrigger: { trigger: '.image-2', start: 'top bottom-=10%' } }) Is it possible to do this without onEnter callback and animation.play()? Thank You!
×
×
  • Create New...