Jump to content
Search Community

Infinite marquee animation on image gallery

Black Ducas test
Moderator Tag

Recommended Posts

Hi @Black Ducas

 

It's going to much easier if you absolutely position those elements and then use x to set their position. Notice how it is done in this demo.

 

See the Pen QEdpLe by GreenSock (@GreenSock) on CodePen

 

Otherwise, you're going to have to take into account a bunch of other calculations to figure out the loop, like with this one.

 

See the Pen ZELPxWW by GreenSock (@GreenSock) on CodePen

 

  • Like 2
Link to comment
Share on other sites

  • 9 months later...

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