Nested is a jQuery plugin which lets you create multi-column, dynamic grid layouts. In contrast to different libraries and jQuery plugins just like Nested, that is (as far I as I’ve know) the primary script on the market that permits you a full gap-free format.
It creates a matrix of all parts and creates a multi column grid, just like different libraries and scripts on the market. Then it scans the maxtric for gaps and tries to fill them by reordering the weather. That is precisely how I’ve seen different newer libraries, scripts and modifications behave however in the event you cease right here, the outcome will someday depart undesirable gaps as nicely. That’s the reason I added the final step, an choice to resize any aspect on the backside of the grid that’s greater (or smaller in the event you choose) than the hole to make the grid utterly gap-free.