Skip to content

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

License

Notifications You must be signed in to change notification settings

Twikito/onscroll-effect

Repository files navigation

onScroll Effect

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

GitHub release (latest by date) npm npm bundle size npm bundle size

David David

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

License

MIT. Copyright (c) Matthieu Bué