Masonry is a layout plugin for jQuery. Think of it as the flip side of CSS floats. Whereas floating arranges elements horizontally then vertically, Masonry arranges elements vertically then horizontally according to a grid. The result minimizes vertical gaps between elements of varying height, just like a mason fitting stones in a wall.
To get started with instructions, options, and examples, please refer to the included primer in index.html.
copyright David DeSandro, licensed GPL & MIT