-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex-base.html
72 lines (62 loc) · 3.09 KB
/
index-base.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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Foundation 5 | Welcome</title>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/foundation.min.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/vendor/modernizr.js"></script>
</head>
<body>
<div class="row">
<div class="large-12 columns">
<h2>Masonry & Foundation 5</h2>
<hr />
</div>
</div>
<div class="row">
<div id="container" class="large-12 columns transitions-enabled large-centered clearfix">
<div class="box col2"><img src="http://www.placehold.it/225x140" /></div>
<div class="box col2"><img src="http://www.placehold.it/210x160" /></div>
<div class="box col2"><img src="http://www.placehold.it/310x280" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x115" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x150" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x130" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x350" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x130" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x130" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x170" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x140" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x110" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x300" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x130" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x180" /></div>
<div class="box col2"><img src="http://www.placehold.it/300x140" /></div>
<div class="box col2"><img src="http://www.placehold.it/260x180" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x135" /></div>
<div class="box col2"><img src="http://www.placehold.it/240x110" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x180" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x150" /></div>
<div class="box col2"><img src="http://www.placehold.it/200x120" /></div>
</div><!--/container -->
</div>
<script src="js/vendor/jquery.js"></script>
<script src="js/foundation.min.js"></script>
<script>
$(document).foundation();
</script>
<script src="js/jquery.masonry.js"></script>
<script>
var $containter = $('#container');
$containter.imagesLoaded( function(){
$containter.masonry({
itemSelector: '.box',
isAnimated: !Modernizr.csstransitions,
isFitWidth: true
});
});
</script>
</body>
</html>