jquery.scrolly

0.0.1 • Public • Published

Scrolly

Live example: http://lab.victorcoulon.fr/javascript/scrolly/ (inspired by Nike Better World)

HTML

<div id="item" class="parallax" data-velocity=".8"></div>

You can add data-fit="xx" to adjust your parallax in real conditions.

If it's a simple element, like an image.

$('.parallax').scrolly();

If not:

$('.parallax').scrolly({bgParallax: true});
License

MIT Licence

Readme

Keywords

Package Sidebar

Install

npm i jquery.scrolly

Weekly Downloads

7

Version

0.0.1

License

none

Last publish

Collaborators

  • victa