Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
velkas

Frame Skip on Infinite Text Carousel

Go to solution Solved by velkas,

Recommended Posts

I've seen a lot of posts about trying to create a marquee section similar to the one on Cuberto's home page. I'm trying to recreate the marquee but the animation seems to "jump" when looping. I'm thinking my math maybe off in the modifier callback?

 

EDIT: Inspecting the dom elements it seems the row items are overflowing the row slightly possibly because of whitespace generated from using inline-blocks.

See the Pen gOgwzpw?editors=0010 by connorhansen (@connorhansen) on CodePen

Link to post
Share on other sites

Removing spaces between elements in HTML resolved the issue. Additionally I think a better alternative is to use flexbox. I've updated the pen to use flexbox.

Link to post
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.

×