animate-css / animate.css

🍿 A cross-browser library of CSS animations. As easy to use as an easy thing.
https://animate.style/
Other
80.82k stars 16.24k forks source link

Showing/hiding with jQuery #818

Closed igorlopasovsky closed 6 years ago

igorlopasovsky commented 6 years ago

Hey, I was just wondering how can I combine animate.css with jQuery, specifically with jQuery show/hide methods.

For example - clicking on button with show modal window but I would love to apply slideInLeft effect on it.

Many thanks

shulk commented 6 years ago

` $( '.left_panel' ).animateCss( 'fadeOutRight', function() {

  $( '.left_panel' ).hide();

});`

That works fine, but I want to try better way also.

igorlopasovsky commented 6 years ago

Thanks shulk, works perfectly ;)

eltonmesquita commented 6 years ago

Closing this as it's solved.