Skip to content

Instantly share code, notes, and snippets.

@flumono
Last active September 17, 2017 00:23
Show Gist options
  • Save flumono/320024306e75b5398a6e905a2ebb7abb to your computer and use it in GitHub Desktop.
Save flumono/320024306e75b5398a6e905a2ebb7abb to your computer and use it in GitHub Desktop.
Waypoints + Animate.css
$(".element").waypoint(function() {
$(this).addClass("animated zoomInUp");
}, {
offset: "70%"
});
.element:nth-child(1) {
-webkit-animation-delay: 0s;
-o-animation-delay: 0s;
animation-delay: 0s;
}
.hide {
opacity: 0;
}
.animated {
opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment