Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Using Animate.css with jQuery Waypoints
//Animate from top
$('.animated').waypoint(function() {
$(this).toggleClass($(this).data('animated'));
},
{ offset: 'bottom-in-view' });
//Animate from bottom
$('.animated').waypoint(function() {
$(this).toggleClass($(this).data('animated'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment