https://github.com/appleple/backpax
Simple JavaScript Library to add parallax image to background-image
https://github.com/appleple/backpax
javascript parallax parallax-library typescript
Last synced: 7 months ago
JSON representation
Simple JavaScript Library to add parallax image to background-image
- Host: GitHub
- URL: https://github.com/appleple/backpax
- Owner: appleple
- License: mit
- Created: 2019-07-18T10:02:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T07:03:44.000Z (over 2 years ago)
- Last Synced: 2024-10-15T03:31:40.630Z (over 1 year ago)
- Topics: javascript, parallax, parallax-library, typescript
- Language: TypeScript
- Homepage: https://appleple.github.io/backpax/
- Size: 3.79 MB
- Stars: 16
- Watchers: 7
- Forks: 1
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Backpax

Simple JavaScript Library to add parallax image to `background-image`
## Install
```
$ npm install backpax --save
```
## Demo
Demo page is [here](https://appleple.github.io/backpax)
## Usage
If you want to add parallax effect to element's background-image
```html
Hello world!
```
```js
import Backpax from 'backpax';
new Backpax('.js-parallax');
```