Jump to content
Search Community

Patrick Rijkee

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Patrick Rijkee

  1. See the Pen dyOwdeX by parpar78 (@parpar78) on CodePen

     

    position the tweens at the correct time like i did here, i also made the duration a bit shorter.

    in your version the rotation plays before the sections start sliding, that caused it to delay and for the rotate to not be visible.

     

    Is this what you are looking for?

    • Like 2
  2. See the Pen zYoyEmO by parpar78 (@parpar78) on CodePen

     

    Hey there,

     

    The animation has already finished before you scroll, you can see the animation if you add a duration like i did here.

    But you probably want to look into something like adding a scrolltrigger (https://greensock.com/docs/v3/Plugins/ScrollTrigger) to start the animation at the right time.

     

    Take a look at what they did with the other animation in the codepen and check out the docs for more info.

     

    Kind Regards,

    Patrick Rijkee

    • Like 3
  3. Hello, 

     

    I'm working on my very first gsap animation and ran into this problem:

     

    the animation works perfectly on scroll down, it translates out of view so only the toggle button is visible.

    But on scrolling up it does nothing even though it should reverse the animation. 

    what am i doing wrong?

     

    Thanks in advance,

     

    Patrick Rijkee

    See the Pen RwaEdZL by parpar78 (@parpar78) on CodePen

×
×
  • Create New...