-
Notifications
You must be signed in to change notification settings - Fork 193
/
index.html
51 lines (39 loc) · 2.08 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>forkit.js - A different kind of GitHub ribbon</title>
<meta name="description" content="A playful JavaScript+CSS ribbon">
<meta name="author" content="Hakim El Hattab">
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/demo.css">
<link rel="stylesheet" href="css/forkit.css">
</head>
<body>
<article>
<h1>forkit.js</h1>
<p>
An experimental animated ribbon which reveals a curtain of additional content. See the top right corner! <a href="http://github.com/hakimel/forkit.js">Source on GitHub.</a>
</p>
<p>
<del>This a concept for a more playful and animated GitHub ribbon. The intention was to let you use the detached ribbon to drag down an iframe-embed of the repository on github.com but I neglected to check their X-Frame-Options until finishing most of the work.</del>
</p>
<small>
Created by <a href="http://twitter.com/hakimel">@hakimel</a> / <a href="http://hakim.se/">http://hakim.se</a>
</small>
</article>
<!-- The contents (if there's no contents the ribbon acts as a link) -->
<div class="forkit-curtain">
<div class="close-button"></div>
<h2>OMGOSH KITTENZ!!!1!</h2>
<small>thx <a href="https://placekitten.com/">placekittens.com</a></small>
<img src="https://placekitten.com/g/200/200">
<img src="https://placekitten.com/g/201/200">
<img src="https://placekitten.com/g/202/200">
<img src="https://placekitten.com/g/204/200">
</div>
<!-- The ribbon -->
<a class="forkit" data-text="Top Secret" data-text-detached="Drag down >" href="https://github.com/hakimel/forkit.js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"></a>
<script src="js/forkit.js"></script>
</body>
</html>