The easy way to create CSS scroll animations that react to the position of your HTML element on screen. Animate on scroll (AOS) your CSS.
Added in the new data attribute negativeOffset to be able to offset the start position in the opposite direction.
Removed tests from package.
Github packages workflow
Refactoring
Refactoring.
Fixed scroll position classes.
Refactoring
Now creates a class of "trig-scroll-top" or "trig-scroll-bottom" onto the body of the document depending on the last scroll position. To give the ability to make something happen at different break points down the page. The classes "trig-scroll-25", "trig-scroll-50" and "trig-scroll-75" are added to the body of the document depending on the scroll position percentage down the page.
Fixed the responsiveness of scroll direction.