An exquisite jQuery plugin for magical layouts
Reveal & hide items with filtering
Re–order items with sorting
Dynamic, intelligent layouts
Sort items by just about anything
Powerful methods, simple syntax
Progressively enhanced for CSS3 transforms & transitions
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.