farzin Posted September 13, 2023 Share Posted September 13, 2023 hi every one i used See the Pen XWMPLQg by GreenSock (@GreenSock) on CodePen and mixed it with text, but i want to use it for multi items in my own project now just work with 2 item when you add 3rd or 4th child its stop working ***most important things for me is to keep same effect that fill image from bottom to top over each other*** thx See the Pen LYMLWrd by okhtapus (@okhtapus) on CodePen Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted September 13, 2023 Solution Share Posted September 13, 2023 Hi @farzin welcome to the forum! As always: The best thing to do when working with ScrollTrigger is to remove it! This seems counter intuitive, but ScrollTrigger is just animating something on scroll, so just focus on the animation at first and only when you're happy with the animation add ScrollTrigger back in. This way you can focus on one part at a time and it will save a lot of headache when debugging. Hope it helps and happy tweening! See the Pen ZEVyyMd?editors=0011 by mvaneijgen (@mvaneijgen) on CodePen 2 Link to comment Share on other sites More sharing options...
farzin Posted September 13, 2023 Author Share Posted September 13, 2023 thx a lot man 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