Jump to content
Search Community

nate.ben

Members
  • Posts

    3
  • Joined

  • Last visited

About nate.ben

  • Birthday 06/16/1988

Contact Methods

Profile Information

  • Location
    Israel

nate.ben's Achievements

  1. OK yes, using Clamp is making it great I want to enhance this experience and set the scroller to snap to each of the boxes while scrolling - would it be possible and how to achieve that ?
  2. Hello @mvaneijgen and thanks for the welcoming Your solution is exactly what i was looking for, so thank you ! One thing im not getting clear is that the order of the timeline functions seems inverted (?) it's starting from x=100 to x=0 ? what's the logic behind it ? tl.to(sectionRef.current, { x: 100, }); tl.to(sectionRef.current, { x: 0, });
  3. Hello Gsap community ! this might be obvious but i tried many ways to achieve and it ain't coming easy for a first-timer In the demo below find the animation needed for a menu - but - the reverse function is invoke in delay which I would like it to be immediate, so the experience of transformX (zero to X) would be even on the way back. Demo: https://codesandbox.io/p/sandbox/box-scrolling-animation-2-m4c2fl?file=%2Fsrc%2Fstyles.css%3A21%2C22 This might be easy one for experienced players I would appreciate the help ! Nate
×
×
  • Create New...