Jump to content
Search Community

How to animate circle one at a time based on scroll?

iAmWayne test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Is it possible to animate an element's height from the top (0px) to the center of the screen and stay centered while scrolling until it reaches the parent element's height?

 

I think I'm doing it right but the line doesn't seem to work out. I'm thinking when the line reaches the circles, the circles would animate.

 

here's the codepen link.


 

thanks :)

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...