Skip to content

Instantly share code, notes, and snippets.

@w-perspective
Forked from agragregra/Waypoints + Animate.css
Last active January 8, 2019 14:39
Show Gist options
  • Select an option

  • Save w-perspective/f6cbd34527ee33e93a02d7e1dca8e085 to your computer and use it in GitHub Desktop.

Select an option

Save w-perspective/f6cbd34527ee33e93a02d7e1dca8e085 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