Jump to content
Search Community

mb38

Members
  • Posts

    3
  • Joined

  • Last visited

mb38's Achievements

  1. Hello everyone, can someone tell me how to implement a smooth appearance of the title and description. I tried to implement via y: index === 0 ? 0 : 120 * (index + 1), but they are not evenly spaced apart. And I would like to add a smooth appearance of pictures when changing the title and description. Perhaps there are tools in gsap that I don't know about?
  2. Thanks a lot for the comments on the code. I couldn't figure out how bottom+=5000px works, but now it's clearer to me.
  3. Hello, I just can’t figure out how to set up a smooth sliding of the title (targetTitle) and colored blocks (targetImg, targetImg2). When scrolling through the page, they move very quickly. I've experimented with the duration parameter, but it doesn't give any results. I tried to add ScrollSmoother, the page began to scroll smoothly, but this did not affect the block (target). I don't understand what I'm doing wrong. And for some reason, the marker end: 'bottom bottom' does not reach the bottom of the block (target). Can someone explain why this is happening and how to add smoothness to the elements?
×
×
  • Create New...