Animating elements while scrolling with react-motion.
> npm install --save react-motion-waypoint
The sample below will animate the background from the scroll position :
- From 0 to 1000 : red background
- From 1000 to 1300 : background transitioning from red to purple
- From 1300 to 2300 : purple background
- From 2300 to 2600 : background transitioning from purple to cyan
> npm run-script build
Contributions are welcome! If you find a bug please report it and if you want a feature please report it.
If you want to contribute code please file an issue and create a branch off of the current dev branch and file a pull request.