Filter & sort magical layouts http://isotope.metafizzy.co
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

103 lines
3.0 KiB

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Masonry tests</title>
<link rel="stylesheet" href="tests.css" />
<link rel="stylesheet" href="../components/qunit/qunit.css" />
<script src="../components/classie/classie.js"></script>
<script src="../components/eventie/eventie.js"></script>
<script src="../components/doc-ready/doc-ready.js"></script>
<script src="../components/eventEmitter/EventEmitter.js"></script>
<script src="../components/eventEmitter/EventEmitter.min.js"></script>
<script src="../components/get-style-property/get-style-property.js"></script>
<script src="../components/get-size/get-size.js"></script>
<script src="../components/jquery-bridget/jquery.bridget.js"></script>
<script src="../components/matches-selector/matches-selector.js"></script>
<script src="../components/outlayer/item.js"></script>
<script src="../components/outlayer/outlayer.js"></script>
<script src="../components/qunit/qunit.js"></script>
<script src="../masonry.js"></script>
<script src="helpers.js"></script>
<!-- tests -->
<script src="basic-layout.js"></script>
<script src="gutter.js"></script>
<script src="stamp.js"></script>
</head>
<body>
<h1>Masonry tests</h1>
<div id="qunit"></div>
<h2>Basic layout top left</h2>
<div id="basic-layout-top-left" class="container basic-layout">
<div class="item"></div>
<div class="item h4"></div>
<div class="item h3"></div>
<div class="item h3"></div>
<div class="item w2"></div>
</div>
<h2>Basic layout top right</h2>
<div id="basic-layout-top-right" class="container basic-layout">
<div class="item"></div>
<div class="item h4"></div>
<div class="item h3"></div>
<div class="item h3"></div>
<div class="item w2"></div>
</div>
<h2>Basic layout bottom left</h2>
<div id="basic-layout-bottom-left" class="container basic-layout">
<div class="item"></div>
<div class="item h4"></div>
<div class="item h3"></div>
<div class="item h3"></div>
<div class="item w2"></div>
</div>
<h2>Basic layout bottom right</h2>
<div id="basic-layout-bottom-right" class="container basic-layout">
<div class="item"></div>
<div class="item h4"></div>
<div class="item h3"></div>
<div class="item h3"></div>
<div class="item w2"></div>
</div>
<h2>Gutter</h2>
<div id="gutter" class="container has-stamp">
<div class="item"></div>
<div class="item"></div>
<div class="item h3"></div>
<div class="item w2"></div>
</div>
<h2>Stamp</h2>
<div id="stamp-top-left" class="container has-stamp">
<div class="stamp stamp1"></div>
<div class="stamp stamp2"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<div id="stamp-bottom-right" class="container has-stamp">
<div class="stamp stamp1"></div>
<div class="stamp stamp2"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
</body>
</html>