• Stars
    star
    751
  • Rank 58,500 (Top 2 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A CSS-only, resolution-independent "Fork me on GitHub" ribbon.

Fork 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.

More Repositories

1

gibo

Easy access to gitignore boilerplates
Go
1,936
star
2

tween-o-matic

A Mac OS X app to help you design CAMediaTimingFunction curves
Objective-C
146
star
3

app-id-sanity

A browser extension to help manage App IDs in Apple's Provisioning Portal
JavaScript
126
star
4

wwdc-session-search

An OS X app for searching WWDC sessions
Objective-C
50
star
5

pihole-sync

A script for syncing whitelist and blacklist entries between multiple devices running Pi-hole (https://pi-hole.net)
Python
29
star
6

uikit-dynamics-demo

UIKit Dynamics demo
Objective-C
14
star
7

fancypants

A collection of data visualisation trinkets
Python
14
star
8

ios-dev-tools

The software I use when I'm writing software
11
star
9

stable-diffusion-apple-silicon

A macOS app for running Stable Diffusion natively on Apple Silicon
Swift
4
star
10

swmath

CGFloat-friendly math functions
Python
4
star
11

finally-safari-ext

You'll get bored with it, but it's fun while it lasts.
JavaScript
4
star
12

tab-hint-demo

Demo project showing how to animate a "hint" view to a tab bar icon using gravity and physics and shit
Objective-C
4
star
13

ios-goodies

A collection of iOS widgets and other goodies
Objective-C
3
star
14

mapviewer-uiactivity-demo

An example iOS app that uses a UIActivity subclass
Objective-C
3
star
15

quiz-scraper

Python
2
star
16

WhyTunes

Objective-C
2
star
17

base64url

A command-line tool for encoding and decoding using the Base64 URL encoding scheme.
Python
2
star
18

goo-website

CSS
2
star
19

AutoLayoutModalBug

Objective-C
2
star
20

linter-checkbashisms

An Atom plugin that runs checkbashisms as a linter on shell scripts
CoffeeScript
2
star
21

dynamics-demo

A demonstration of UIKit dynamics
Objective-C
2
star
22

shellsnake

Play Snake on the command line! 😄🐛🐛🐛
Go
2
star
23

JWT-Tool

Swift
1
star
24

Timer

A simple countdown timer app for macOS
Swift
1
star
25

ios-compatibility

A data visualisation of max iOS version compatibility by iOS device
JavaScript
1
star
26

apple-pay-images-to-1password

JavaScript
1
star
27

classifier-viz

HTML
1
star
28

twirly-screensaver

Objective-C
1
star
29

memerbot

A Messenger bot for building memes
JavaScript
1
star
30

s1mn.io

1
star
31

GSActivityDemo

A sample Xcode 4 project demonstrating an apparent bug in presenting UIActivity activityViewControllers on iPad
Objective-C
1
star
32

Swift-Bag

An implementation of the bag (multiset) data structure in Swift
Swift
1
star
33

Angry-UIKit

The demo app used in my presentation at Alt Tech Talks London 2013
Objective-C
1
star
34

secondconf-2011-puzzle-screensaver

A Mac OS X screensaver based on the fiendish puzzle from Second Conf 2011
Objective-C
1
star