-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo-packery.html
37 lines (34 loc) · 1.22 KB
/
demo-packery.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="themes/css/climb-brooke.css">
<title>Climb Theme Demos</title>
<style>
body {
font-family: "futura-pt", sans-serif;
font-style: normal;
font-weight: 400;
margin: 0;
}
</style>
</head>
<body>
<div class="climb-wall climb-brooke" data-collection-id="55c1e00845284e26681c4929" data-limit="4">
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.min.js"></script>
<script src="//rawgit.com/Climb-social/react-climb-social/master/dist/react-climb-social.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/packery/1.4.3/packery.pkgd.min.js"></script>
<script type="text/javascript">
window.Climb = {
onUpdate: function () {
var container = document.querySelector('.climb-brooke')
var pckry = new Packery( container, {
itemSelector: '.climb__tile',
gutter: 10
});
}
};
</script>
</body>
</html>