Jump to content
Search Community

Vertical multi Image Reveal on Scroll

farzin test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

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

  • Solution

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

 

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...