A tiny JavaScript library to enable CSS animations when user scrolls.
This library toggles a class to an element when it appears on viewport when user scrolls. It lets you build CSS transitions or animations launched only when user scrolls on it. Only set a few HTML attributes, and code the rest with your CSS skills.
Note that in order to not be JavaScript dependent, as default behavior, this library add the class when the element is outside of the viewport. This way, if you have any JavaScript issue, the default state of your element will appears on scroll.
Sometimes, you may need the opposite behavior, i.e. adding a class when the element is inside the viewport. There is an option for that.
Demo: Link
Download: Link
