Jump to content
Search Community
goooon test
Moderator Tag

Recommended Posts

Flip Menu.
flip between two many different elements 

 

I add dinamically the atributte data-flip-id="matched" when click at a menu element. 

and work with a "previus active" and a "current active" element to make de animaiton. So, when the animation ends, the current element is stored as the prev element and gets ready for another click.

 

but...I'm having a problem with the Flip behavior. I don't understand why it only works in one direction.
 

What I notice is that when I go from right to left (and fail), the transform animation is on the initial position element. I believe that is the issue, but I'm not sure how to solve it. 



See the Pen dyaZvRm by Gon82 (@Gon82) 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.
×
×
  • Create New...