Xurshed Posted July 31, 2021 Share Posted July 31, 2021 Hey, guys! My ScrollTrigger animation starts earlier and before its position. Plus, it appears over the previous component. I don't know what am i doing wrong. I appreciate if you can solve my problem. Please help with this, this is soo urgent! I know it is somehow broken. See the Pen wvdjOKr by Xurshed17 (@Xurshed17) on CodePen Link to comment Share on other sites More sharing options...
Xurshed Posted July 31, 2021 Author Share Posted July 31, 2021 In the given codepen, it is not wworking well, but nevermind. I just need to know Why animation starts early!? Link to comment Share on other sites More sharing options...
Cassie Posted July 31, 2021 Share Posted July 31, 2021 Hey @xurshed Your codepen is starting at the 'start' marker. There's nothing there to fix from what I can see. As it's appearing over the previous section it's probably due to this unclosed HTML tag or potentially your CSS may need tweaking. Link to comment Share on other sites More sharing options...
Xurshed Posted July 31, 2021 Author Share Posted July 31, 2021 Yes, i know @Cassie. It is starting at the 'start' marker, but it is appearing above the component as i showed in the image. Something forces it to start earlier. But i dont know what is it. Link to comment Share on other sites More sharing options...
Cassie Posted July 31, 2021 Share Posted July 31, 2021 You haven't provided that code so I can't help there I'm afraid. If you add a top border on your component you can verify where that component starts See the Pen KKmRYjM by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now