Jump to content
Search Community

Akash_rathore

Members
  • Posts

    2
  • Joined

  • Last visited

Akash_rathore's Achievements

0

Reputation

  1. Thanks Zach. Can you explain why a scroll bar appears at the bottom when the page loads and goes away once the animation is over. What can be done to avoid that?
  2. Hey I tried using scrollTrigger by creating a simple navigation bar and three sections. I added animations to the text and image in the sections. But the issue I am facing here is that when I scroll the page, that text and image scrolls over the navigation bar. Does the scrollTrigger adds z-index to the element on which it is used? And second issue is that, it adds a horizontal scroll bar in the bottom and it goes away once the animation is over. Why's that happening. Both the issues can be solved by adding z-index to the navigation and adding overflow: hidden to the section, but these issues shouldn't arise in the first case. Can someone explain why's that happening.
×
×
  • Create New...