Skip to content

Instantly share code, notes, and snippets.

@yozzi
Created September 9, 2015 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yozzi/6fd0bf22626d9514da6a to your computer and use it in GitHub Desktop.
Save yozzi/6fd0bf22626d9514da6a to your computer and use it in GitHub Desktop.
animte.css for StartUp try-outs
//animate.css
jQuery(document).ready(function() {
jQuery('.st_bounceInLeft').addClass("bt_hidden").viewportChecker({
classToAdd: 'bt_visible animated bounceInLeft',
offset: 0,
repeat: true,
callbackFunction: function(elem, action){},
scrollHorizontal: false
});
jQuery('.st_fadeIn').addClass("bt_hidden").viewportChecker({
classToAdd: 'bt_visible animated fadeIn',
offset: 0,
repeat: true,
callbackFunction: function(elem, action){},
scrollHorizontal: false
});
jQuery('.st_zoomIn').addClass("bt_hidden").viewportChecker({
classToAdd: 'bt_visible animated zoomIn',
offset: 0,
repeat: true,
callbackFunction: function(elem, action){},
scrollHorizontal: false
});
jQuery('.st_rotateIn').addClass("bt_hidden").viewportChecker({
classToAdd: 'bt_visible animated rotateIn',
offset: 0,
repeat: true,
callbackFunction: function(elem, action){},
scrollHorizontal: false
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment