-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathindex.html
95 lines (77 loc) · 4.22 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kort</title>
<meta name="description" content="CSS 3D thumbnail preview concept">
<meta name="author" content="Hakim El Hattab">
<meta name="viewport" content="width=500, user-scalable=no">
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/kort.css">
</head>
<body>
<div class="contents">
<article>
<h1>Kort</h1>
<p>
An album thumbnail preview concept. Hover and move horizontally.
</p>
<p>
Created by <a href="https://twitter.com/hakimel">@hakimel</a> / <a href="http://lab.hakim.se/">http://lab.hakim.se</a>
</p>
</article>
<div class="sharing">
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Kort - a CSS 3D thumbnail preview concept by @hakimel" data-url="http://lab.hakim.se/kort" data-count="small" data-related="hakimel"></a>
<iframe id="facebook-button" src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Flab.hakim.se%2Fkort%2F&layout=button_count&show_faces=false&width=83&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>
</div>
<a href="https://github.com/hakimel/kort"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
</div>
<h2>Default</h2>
<div class="thumb kort">
<img src="https://placeimg.com/400/401/nature" width="200" height="200">
<img src="https://placeimg.com/400/402/nature" width="200" height="200">
<img src="https://placeimg.com/400/403/nature" width="200" height="200">
<img src="https://placeimg.com/400/404/nature" width="200" height="200">
<img src="https://placeimg.com/400/405/nature" width="200" height="200">
<img src="https://placeimg.com/400/406/nature" width="200" height="200">
<img src="https://placeimg.com/400/407/nature" width="200" height="200">
<img src="https://placeimg.com/400/408/nature" width="200" height="200">
<img src="https://placeimg.com/400/409/nature" width="200" height="200">
</div>
<!--
<h2>Concave</h2>
<div class="thumb kort concave">
<img src="https://placeimg.com/400/401/nature" width="200" height="200">
<img src="https://placeimg.com/400/402/nature" width="200" height="200">
<img src="https://placeimg.com/400/403/nature" width="200" height="200">
<img src="https://placeimg.com/400/404/nature" width="200" height="200">
<img src="https://placeimg.com/400/405/nature" width="200" height="200">
<img src="https://placeimg.com/400/406/nature" width="200" height="200">
<img src="https://placeimg.com/400/407/nature" width="200" height="200">
<img src="https://placeimg.com/400/408/nature" width="200" height="200">
<img src="https://placeimg.com/400/409/nature" width="200" height="200">
</div>
-->
<h2>Stack</h2>
<div class="thumb kort stack">
<img src="https://placeimg.com/400/401/nature" width="200" height="200">
<img src="https://placeimg.com/400/402/nature" width="200" height="200">
<img src="https://placeimg.com/400/403/nature" width="200" height="200">
<img src="https://placeimg.com/400/404/nature" width="200" height="200">
<img src="https://placeimg.com/400/405/nature" width="200" height="200">
<img src="https://placeimg.com/400/406/nature" width="200" height="200">
<img src="https://placeimg.com/400/407/nature" width="200" height="200">
<img src="https://placeimg.com/400/408/nature" width="200" height="200">
<img src="https://placeimg.com/400/409/nature" width="200" height="200">
</div>
<script src="js/kort.js"></script>
<script>
// FF OS X animates this at 3-4 FPS when there are box-shadows
// on the images, hence the hack... Ugh :/
if( navigator.userAgent.match( /firefox/gi ) ) {
[].slice.call( document.querySelectorAll( '.thumb img' ) ).forEach(function( el ) { el.style.boxShadow = 'none'; });
}
</script>
<script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>
</body>
</html>