Skip to content

moritzgvt/gvtMasonry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gvtMasonry.js - a Plugin for jQuery

A simple and easy to use Masonry-Script

what you need

  • 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

how to use

  • add gvtMasonry.min.js to your project
    <script src="YOUR-PATH/gvtMasonry.min.js"></script>
  • call the function
    jQuery( '#myContainer' ).gvtMasonry( [Column-Amount] )