Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



12 Commits

Repository files navigation

Animate on scroll

Animate on scroll - elements animation when user is scrolling the web page

Animate on scroll with Animate.css (
Animation with global and local offset
Animation inside scrollable element

HTML - use data-animation attribute with animation name

<h1 data-animation="name">Animated element</h1>

HTML - local animation offset - use data-offset attribute with pixels

<h1 data-animation="name" data-offset="number">Animated element</h1>
<h1 data-animation="bounceIn" data-offset="500">Hello World!</h1>

JavaScript simple configuration

$(document).ready(function ($) {

JavaScript advanced configuration

User can set scrollable element and global offset programatically
Use data-offset for local offset inside HTML element.

$(document).ready(function ($) {
     var args = {
          container: node,
          offset : number



No releases published


No packages published