Last active
September 17, 2017 00:23
-
-
Save flumono/320024306e75b5398a6e905a2ebb7abb to your computer and use it in GitHub Desktop.
Waypoints + Animate.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".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