Jump to content
Search Community

Animate Sticky elemets as they reveal

Akash Ranjan test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

Hey Guys,

 

I am trying to build an animation where the children elements have position sticky with bottom:0 set. I want to add autoAlpha on each child as they scroll down and settle on their respective places.

 

I have created a minimal pen for it on what I have tried. I also tried gsap.utils to array method but it still not work. Can you please help me.

 

If there is any way that I can achieve this effect without using position sticky that too I can consider.

 

Thanks alot

See the Pen LYapKNX by akashrwx (@akashrwx) on CodePen

Link to comment
Share on other sites

Hi Akash,

 

Thanks for the minimal demo. Im having a little trouble understanding the end result of what you are trying to achieve.

You want to *add* "Auto Alpha" do you mean tween from 0 - 1 so that it appears? or from 1 to 0 - so the image disappears and  visibility. Also, when you sat their "respective places" what exactly is the place.

Should be able to help more with a little more information. :)

See the Pen mdoeNMm by windpixel (@windpixel) on CodePen

  • Like 1
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...