Skip to content

Commit

Permalink
Complete the README's example
Browse files Browse the repository at this point in the history
Also need the `<a ...>` like in the index.html
  • Loading branch information
hugovk committed Feb 24, 2016
1 parent c4a9151 commit 435c76b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ 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)
You can use github-fork-ribbon-css without installation via [cdnjs.com](https://cdnjs.com/libraries/github-fork-ribbon-css).

Copy the following code into the `<head>` of your page:


```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />
Expand All @@ -14,6 +17,12 @@ CDN provided by [cdnjs](https://cdnjs.com/libraries/github-fork-ribbon-css)
<![endif]-->
```

And this into the `<body>` of your page:

```html
<a class="github-fork-ribbon" href="http:https://url.to-your.repo" title="Fork me on GitHub">Fork me on GitHub</a>
```

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

Feel free to fork, tweak and send me a pull request.
Expand Down

0 comments on commit 435c76b

Please sign in to comment.