Scroll the page by a given offset using CSS transitions
Manipulates the margin-top and margin-left style properties, then when the animation is complete, removes the margins, and moves the window scroll directly.
var scrollBy =
offset can be a number (representing Y scroll) or an array containing [x,y] offset.
duration is the number of milliseconds the animation should take to complete.
$ npm install beefy -g$ npm run example