Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save elicus/98625c829437e964aadb7ff9bb5994ba to your computer and use it in GitHub Desktop.
Save elicus/98625c829437e964aadb7ff9bb5994ba to your computer and use it in GitHub Desktop.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
<script type="text/javascript">
jQuery(window).load(function() {
jQuery('#container').masonry({
"itemSelector": ".item",
"columnWidth": ".grid-sizer",
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment