Jump to content
Search Community

KST

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by KST

  1. Hi,

     

    I want to make the same effect(horizontal scrolling and wave animation) like this site.

    The wave is big when scrolling fast. The wave is small when scrolling slowly.

     

    Now I'm faced with a problem of wave animation.

    If using gsap.set(), the animation looks not smooth.

    If using gsap.to(), the wave is not at the center of the viewport when scroll fast.

    Is there any advice on how to solve the problem?

     

    In addition, I also want to know is there any way(like stagger property) to make the code clean or improve performance.

     

    Thanks!

     

    See the Pen VwbXJam by tiffk935 (@tiffk935) on CodePen

  2. Hi,

     

    I use custom scroller and find that pinType: transform sometimes makes the pinned element vibrate.

    I have tried using pinType: fixed,  but found that  wheel scrolling event not firing when mouse is over the pinned element.

    I also tried using css pointer-events: none, but the button is not clickable.

    Is there anyway to solve this problem?

    Thanks!

     

     

    demo2.gif

    See the Pen gOgeWGo by tiffk935 (@tiffk935) on CodePen

    • Like 2
  3. Hi,

     

    I got two problems when using Scrolltrigger pin.

    1. Pinned elements have same trigger and start but the position of the markers are not the same  (.photo is not correct).

    2. When resizing the browser, the position of .yellow is not correct.

     

    how to solve these problems?

    Thanks!

     

    See the Pen MWJeRVd by tiffk935 (@tiffk935) on CodePen

×
×
  • Create New...