Lichay Posted June 20, 2020 Share Posted June 20, 2020 i try to animation + ScrollTrigger in same element but when i use both only ScrollTrigger work and my regular animation stack how can i fix it? i need both of them . if i off one of them it work , but i want both of them See the Pen oNbZjqa by lichaytiram (@lichaytiram) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted June 20, 2020 Share Posted June 20, 2020 Hey Lichay. You can't have both directly affecting the same element because they'd conflict. You could create an empty container around the element and apply one animation to one and another animation to the other. We recommend using GSAP over CSS animations by the way 1 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