Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The flip-side of CSS Floats. jQuery plugin that rearranges item elements to a grid.
JavaScript Shell
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

jQuery Masonry

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.

The primer in docs/index.html has all the documentation to get you started.

Code repository:

View the docs live:

Copyright (c) 2010 David DeSandro, licensed MIT

Something went wrong with that request. Please try again.