Skip to content

Commit b334916

Browse files
authored
Merge pull request #196 from browner12/patch-1
update readme
2 parents c542859 + 236d21c commit b334916

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,30 @@ Simple parallax scrolling effect inspired by [Spotify.com](http://spotify.com/)
66

77
## Installation
88

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.
1024

1125
```bash
1226
$ bower i --save parallax.js
1327
```
1428

29+
### Setup
30+
31+
Include `parallax.min.js` in your document after including jQuery.
32+
1533
```html
1634
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
1735
<script src="/path/to/parallax.min.js"></script>

0 commit comments

Comments
 (0)