https://github.com/abernier/parallax
DEMO: https://bl.ocks.org/abernier/raw/a67f6f78721b152c004c759ebb4387c4/
https://github.com/abernier/parallax
Last synced: 4 months ago
JSON representation
DEMO: https://bl.ocks.org/abernier/raw/a67f6f78721b152c004c759ebb4387c4/
- Host: GitHub
- URL: https://github.com/abernier/parallax
- Owner: abernier
- Created: 2020-10-13T10:24:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T10:18:25.000Z (over 4 years ago)
- Last Synced: 2025-03-20T03:14:38.059Z (4 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@abernier/parallax
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/@abernier/parallax)
//ax
DEMO: https://bl.ocks.org/abernier/raw/a67f6f78721b152c004c759ebb4387c4/
# INSTALL
client-side:
```js
import Parallax from 'https://unpkg.com/@abernier/[email protected]'
```or via a bundler:
```js
import Parallax from '@abernier/parallax'
```NB: you must yarn/npm install it before
# Usage
see: `index.html`
```html
A
B
C
D
E
F
G
H
I
J
Kimport Parallax from 'https://unpkg.com/@abernier/parallax@latest'
new Parallax(document.querySelector('section'))
```