Skip to content

AlexLazy/simpleParallax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published