Skip to content

Commit

Permalink
Merge pull request simonwhitaker#46 from hugovk/update-readme
Browse files Browse the repository at this point in the history
Complete example, update version
  • Loading branch information
simonwhitaker committed Feb 24, 2016
2 parents 7586d44 + 9943f49 commit 969872b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,24 @@ 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" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.min.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.0/gh-fork-ribbon.ie.min.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 969872b

Please sign in to comment.