simpleParallax is very simple plugin for add parallax effect on your site.
Check out this demo to see it in action!
Clone this repository or install with npm npm install --save simple-parallax
.
$('#parallax').simpleParallax();
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 |
$('#parallax').simpleParallax({
shift: 10,
mobile: false
});
Alexey Cherepanov: Website
Licensed under MIT. Enjoy.