Jump to content
Search Community

Wixxtorr

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Wixxtorr

  1. 57 minutes ago, GreenSock said:

    Like this?: 

     

     

     

    You just needed to adjust the x distance (subtracting the window.innerWidth). And I'd recommend making it a function-based value and setting invalidateOnRefresh: true on your ScrollTrigger so that it's forced to re-calculate that whenever the window resizes (responsive). 

     

    Happy tweening!

    Yes, that's exactly what I wanted! Thank you so much! I will continue to study further.

    • Like 1
  2. Hi!

    I'm trying to understand how a scroll trigger works. In this example, I can’t manage to set up a scroll trigger in such a way that the scrolling of images ends at the right edge of the window, and does not scroll all the way to the left. Can anyone suggest? I've already tried different options, it doesn't work.

    Viktor

    See the Pen oNqMovG by v777999 (@v777999) on CodePen

×
×
  • Create New...