Jump to content
Search Community

Hadeel

Members
  • Posts

    4
  • Joined

  • Last visited

Hadeel's Achievements

  1. Hi Everyone, I am trying to use gsap to change a word in a phrase to show other words after one another, like in this example: https://codepen.io/pokecoder/pen/YzxmMrz 1) The code I have now allows me to change it once, how can I add more words to change? 2) How can create a smoother transition/animation when the word changes, like sliding up or down for example? Thanks in advance for you support!
  2. Hi Everyone, I am creating a horizontal scroll section in my website using Gsap. The section consists of a video and two images. I have two problems: 1. The video and the images are set to 100% width and object-fit: cover yet it doesn't fit fully in the screen you have to scroll to see the rest of it. I tried object-fit: contain but then I end up with white space on the left and the right. How can fix that? 2. When I scroll down just a little the section automatically scrolls to the next element. Is there a way to disable that?
×
×
  • Create New...