How can I make the hidden form animate from right to left, after the class .button is hidden. I can make something like that, but I cannot synchronize their animations.
When the button is clicked, it goes to the right by some pixels and then is hidden, and before it gets hidden, I want the form to animate.
How can I create same effect like the form was inside .button class, and appears from there?
Any help very appreciated!
Here is the fiddle: fiddle link