Locomotive Scroll lets you perform a variety of scrolling effects, like parallax and triggering/controlling animations at scroll points. It works primarily through specific attributes in the HTML. Elements with these attributes trigger event listeners in JavaScript when they are in the viewport, then apply CSS transform values as inline styles. It’s pretty plug-and-play like that.
Table of contents
What is Locomotive Scroll?Here’s how it worksLet’s set this upHere are some examples2 Comments
Sort: