Skip to content

Commit

Permalink
Fix download URL, add info on local files
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Nov 26, 2021
1 parent a59ea23 commit be7ea83
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ Stretchy.init();

A CommonJS build is also available. `require("stretchy")` should work on Node.

## Local files

All three of the above methods can be used with your own local files as well.
You can download Stretchy [here](https://www.jsdelivr.com/package/npm/stretchy).

npm works like you’d expect too:

```
npm install stretchy
```

</section>

</section>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1><iframe src="logo.svg"></iframe></h1>
<li><a href="#examples">Examples</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="test.html">Testsuite</a></li>
<li><a href="stretchy.js" download>Download</a></li>
<li><a href="https://github.com/leaverou/stretchy" target="_blank">Github</a></li>
</ul>
</nav>
</div>
Expand Down
2 changes: 1 addition & 1 deletion style.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ header {
line-height: 1;
}

& a[href="stretchy.js"],
& li:last-of-type a,
& a:hover {
border-color: var(--base-color);
}
Expand Down

0 comments on commit be7ea83

Please sign in to comment.