mirror of https://github.com/metafizzy/isotope
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.
31 lines
650 B
31 lines
650 B
--- |
|
title: Basic |
|
layout: demo |
|
category: demos |
|
related: a-intro |
|
--- |
|
|
|
<section id="copy"> |
|
<p>This is a basic demo of Isotope. Resize the browser window to see the layout animate.</p> |
|
</section> |
|
|
|
<div id="container"> |
|
{% for element in site.elements limit:20 %} |
|
{% include element-partial.html %} |
|
{% endfor %} |
|
</div> <!-- #container --> |
|
|
|
<script src="../{{ site.jquery_js }}"></script> |
|
<script src="../{{ site.isotope_js }}"></script> |
|
<script> |
|
$(function(){ |
|
|
|
var $container = $('#container'); |
|
|
|
$container.isotope({ |
|
itemSelector: '.element' |
|
}); |
|
|
|
}); |
|
</script> |
|
|
|
|