simonwhitaker/github-fork-ribbon-css
소개
CSS만으로 구현되며 해상도에 무관한 "Fork me on GitHub" 리본입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFork me on GitHub CSS ribbon
This is a recreation of the Fork me on GitHub ribbon in CSS, hence resolution-independent.
Using with Bower
You can install the CSS files using Bower.
bower install github-fork-ribbon-css
Using with npm
You can also install the CSS files using npm.
npm install --save github-fork-ribbon-css
Using "Fork me on GitHub" CSS ribbon with a CDN
You can use github-fork-ribbon-css without installation via cdnjs.com.
Copy the following code into the <head> of your page:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />
And this into the <body> of your page:
<a class="github-fork-ribbon" href="https://url.to-your.repo" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
Styling
Set the background colour using the ::before selector. For example:
<style>.github-fork-ribbon:before { background-color: #333; }</style>
See 'em in action! https://simonwhitaker.github.io/github-fork-ribbon-css/
Feel free to fork, tweak and send me a pull request.
Note: this project is not sponsored or in any way endorsed by GitHub.
관련 프로젝트 살펴보기
불러오는 중…