A simple and easy to use Masonry-Script
- jQuery (i tested with 3.3.1)
- html code like this:
<div id="myContainer">
<div><!-- do your stuff here --></div>
<div><!-- do your stuff here --></div>
<div><!-- do your stuff here --></div>
</div>
- stylesheet to set the width of
#myContainer
- add gvtMasonry.min.js to your project
<script src="YOUR-PATH/gvtMasonry.min.js"></script>
- call the function
jQuery( '#myContainer' ).gvtMasonry( [Column-Amount] )