masonry

или

isotope

See the Pen Fluid Grid by Sean McCaffery (@seanmccaffery) on CodePen.