simple-parallax

1.0.1 • Public • Published

simpleParallax

simpleParallax is very simple plugin for add parallax effect on your site.

Check out this demo to see it in action!

Setup

Clone this repository or install with npm npm install --save simple-parallax.

$('#parallax').simpleParallax();

Default options

Option Values Default Description
shift number 5 The rate of displacement of the image
mobile true or false true Do not initialize on mobile devices

Exemple

$('#parallax').simpleParallax({
  shift: 10,
  mobile: false
});

Author

Alexey Cherepanov: Website

License

Licensed under MIT. Enjoy.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    29
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    29
  • 1.0.0
    0

Package Sidebar

Install

npm i simple-parallax

Weekly Downloads

29

Version

1.0.1

License

MIT

Last publish

Collaborators

  • alexlazydev