Simple JavaScript Library to add parallax image to background-image
npm install backpax
Simple JavaScript Library to add parallax image to background-image
```
$ npm install backpax --save
Demo page is here
If you want to add parallax effect to element's background-image
` Hello world!html
data-img="./path/to/default-image"
data-img-768="./path/to/image-which-size-is-smaller-than-768"
data-img-1024="./path/to/image-which-size-is-smaller-than-1024"
>
`js
import Backpax from 'backpax';new Backpax('.js-parallax');
``