Skip to content

Commit 338fdd5

Browse files
committed
Update README.md
1 parent 9b28d6e commit 338fdd5

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ It also supports:
1818

1919
1. **There can only be one set of adjoining sections**
2020

21+
### Install
22+
23+
You can simply download the `smartscroll.min.js` file, or use a package manager.
24+
25+
**npm**
26+
27+
npm install smartscroll
28+
29+
**bower**
30+
31+
bower install smartscroll
32+
2133
### How to Use
2234

2335
Structure your HTML like so (default options included)
@@ -44,7 +56,7 @@ Structure your HTML like so (default options included)
4456
</script>
4557
</body>
4658

47-
> You may also want to link to `styles.css`, but all that does is to ensure the `html` and `body` elements have no margins nor padding
59+
> You may also want to link to `smartscroll.css`, but all that does is to ensure the `html` and `body` elements have no margins nor padding
4860
4961
##### Options
5062

@@ -87,4 +99,4 @@ Currently, there are two features of smartscroll, and this is how it's implement
8799
The following features may be implemented. Please register interest by opening/commenting on an issue.
88100

89101
* Touch support
90-
* Horizontal scrolling
102+
* Horizontal scrolling

0 commit comments

Comments
 (0)