A tiny JavaScript library to enable CSS animations when user scrolls

A tiny JavaScript library to enable CSS animations when user scrolls.

This library allows you to toggle one or more classes on an element when it appears inside the viewport when the user scrolls the page. It enables you to build CSS transitions or animations launched only when the user scrolls the page to the element. All you have to do is set a few HTML attributes, and code the rest with your CSS skills.

Go check the full documentation.

Status

Quick start

Several quick start options are available:

Documentation

onScroll Effect’s full documentation is hosted on GitHub Pages at twikito.github.io/onscroll-effect/.

Contribution

Download Details:

Author: Twikito

Demo: https://twikito.github.io/onscroll-effect/

Source Code: https://github.com/Twikito/onscroll-effect

#javascript #css

A tiny JavaScript library to enable CSS animations when user scrolls
47.30 GEEK