Skip to content

ScrollOut detects changes in scroll for reveal, parallax, and CSS Variable effects!

Notifications You must be signed in to change notification settings

scroll-out/scroll-out

Folders and files

NameName
Last commit message
Last commit date
Dec 27, 2018
May 22, 2020
Apr 7, 2023
Apr 7, 2023
Feb 13, 2019
Feb 13, 2019
Aug 26, 2019
Jul 31, 2019
Aug 28, 2018
Feb 13, 2019
Jan 14, 2024
Jan 4, 2023

Repository files navigation

ScrollOut

Animate on Scroll

npm version Downloads gzip size

Why should I use this?

  • Animate or reveal elements as they scroll into view using CSS or JavaScript
  • Super tiny JavaScript library at 1KB minified and gzipped.
  • Free for commercial and non-commercial use under the MIT license.

How do I use it?

Install ScrollOut and decorate elements with the data-scroll attribute. As elements become visible, data-scroll will be set to in and when elements are scrolled out they will be set with out. Add your own CSS or JS to make a big impression when things come into view. That's it!

Getting Started

Check out the documentation.

Compatibility

The core features are compatible on all modern desktop and mobile browsers. Internet Explorer 11 is also supported.

Maintainers

Maintainer GitHub Twitter
Christopher Wallis @notoriousb1t @notoriousb1t
Stephen Shaw @shshaw @shshaw

License

scroll-out is licensed under the MIT license.