Skip to content

Commit

Permalink
add cdn info
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Dec 26, 2014
1 parent be5a201 commit 1905c2c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
This is a recreation of the [Fork me on GitHub ribbon](https://github.com/blog/273-github-ribbons)
in CSS, hence resolution-independent.

## Using "Fork me on GitHub" CSS ribbon with a CDN

CDN provided by [cdnjs](https://cdnjs.com/libraries/github-fork-ribbon-css)
```
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
```

See 'em in action! <http:https://simonwhitaker.github.io/github-fork-ribbon-css/>

Feel free to fork, tweak and send me a pull request.
Expand Down
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ <h2>Using with Bower</h2>
using <a href="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/bower/bower">Bower</a>.
</p>
<pre>bower install github-fork-ribbon-css</pre>
<h2>Using with cdnjs</h2>
<p>
You can use github-fork-ribbon-css without installation via <a href="https://cdnjs.com/libraries/github-fork-ribbon-css">cdnjs.com</a>.
</p>
<pre>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
</pre>

<h2>About</h2>
<p>
This project was written by
Expand Down

0 comments on commit 1905c2c

Please sign in to comment.