Jump to content

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

How to achieve marquee effect with direction change?

Recommended Posts

I have a div with some texts and I looped this div infinitely which is working fine.
But my problem is with changing the direction of marquee. When I do tl.reverse() it makes the reverse but the loop ends when it hits the beginning.
How can I make it infinite even after the direction change?


I know there is many posts about this topic but I still can't make it done.

See the Pen XWjoqOp by mimoid-prog (@mimoid-prog) on CodePen

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.