animate.css icon indicating copy to clipboard operation
animate.css copied to clipboard

Reverse animation

Open emage opened this issue 11 years ago • 3 comments

Anyone got a good tip to do a reverse animation of the same name?

Example:

For an app, I had the bottom tool panel slide up from the bottom when the page is in view. Upon clicking the "next" step I want the tool panel to slide back down before the next page is load into view.

So basically reverse the "slideInUp"

Or is it easier to just on click addClass "slideOutDown"

Thanks

emage avatar Apr 23 '15 22:04 emage

you could use mootools with more: $('nextbutton').addEvent('click',function(event) { event.stop(); $('toolbar').erase('class'); $('toolbar').addClass('animated hinge'); setTimeout(function() {window.location.href = '/whateverthepath'},1001) } )

sorry i didnt use the slide

procodeing avatar Apr 24 '15 13:04 procodeing

here is the pen: http://codepen.io/procodeing/pen/MwWdBa

procodeing avatar Apr 24 '15 14:04 procodeing

@emage any reason that this is still open?

procodeing avatar Aug 09 '15 20:08 procodeing