By @louisho5
Start your own customized scroll animation with single line of code.
This example demonstrates how to add simple animations using the "data-motionscroll-to" attribute.
In this example, you can add custom "keyframes-like" CSS animations using the "data-motionscroll-animate" attribute.
Assign animations to a designated layer instead of automatically selecting [data-motionscroll-to] and [data-motionscroll-animate].
All ease modes refer to the CSS transition-timing-function. You can customize the easing effect using the ease option.
Set offsets for top or bottom to affect the delay of the container's entry or exit.
By default, the animation stops when the container leaves the top of the screen. Set reverse to false to allow the animation to play again when scrolled from the top.
In this example, the animation stops permanently when the container leaves the top of the screen.
Add "!important" to all MotionScroll CSS animations using the override option.
Example shows how to destroy/initialize the motionscroll
All parameters and each default values in MotionScroll.