Last modified:

.masonry { background: #fff; max-width: 100%; } .masonry .mas-item { width: 120px; height: 120px; float: left; background: #eee; border: 1px solid #333; border-color: hsla(0, 0%, 0%, 0.5); border-radius: 3px; } .mas-item.wid2 { width: 240px; } .mas-item.wid3 { width: 360px; } .mas-item.wid4 { width: 480px; } .mas-item.hgt2 { height: 240px; } .mas-item.hgt3 { height: 360px; } .mas-item.hgt4 { height: 480px; }

Masonry – columnWidth – Freewall Test 02