Jump to content
Search Community

How to achieve marquee effect with direction change?

mimoid-prog test
Moderator Tag

Recommended Posts

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

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