lmuzellec Posted November 7, 2022 Share Posted November 7, 2022 Hello, So I'm trying to use GSAP 3 to recreate the same grid animation as this codepen that uses TweenLite : See the Pen yLEaOeN by lmuzellec (@lmuzellec) on CodePen But I'm having trouble with the justify-content property that seem to remove the animation, or at least make it stutter, when set to center. I have created a button to toggle the justify-content property to show that the animation does work when the property isn't set. What I'm trying to achieve is to have the same animation on the grid while centering it horizontally. Could you please help me identify what I am doing wrong ? Or is it not possible to use animation with justify-content ? See the Pen ZERpbba by lmuzellec (@lmuzellec) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted November 7, 2022 Solution Share Posted November 7, 2022 This is a great use case for Flip plugin: See the Pen BaVQpbL?editors=0010 by GreenSock (@GreenSock) on CodePen Does that help? 1 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