File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,30 @@ Simple parallax scrolling effect inspired by [Spotify.com](http://spotify.com/)
6
6
7
7
## Installation
8
8
9
- Download package or install with Bower and include ` parallax.min.js ` in your document after including jQuery.
9
+ ### NPM
10
+
11
+ ``` bash
12
+ npm i --save jquery-parallax.js
13
+ ```
14
+
15
+ ### Yarn
16
+
17
+ ``` bash
18
+ yarn add jquery-parallax.js
19
+ ```
20
+
21
+ ### Bower
22
+
23
+ Please note that although Bower is still maintained, they recommend Yarn for new projects.
10
24
11
25
``` bash
12
26
$ bower i --save parallax.js
13
27
```
14
28
29
+ ### Setup
30
+
31
+ Include ` parallax.min.js ` in your document after including jQuery.
32
+
15
33
``` html
16
34
<script src =" https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js" ></script >
17
35
<script src =" /path/to/parallax.min.js" ></script >
You can’t perform that action at this time.
0 commit comments