Minimal 2kb zero dependency cascading grid layout without pain. Star DemoThere's a simple example on jsbin. UsageIt works on a grid container with a group of grid items. <div class="cards"> <div class="card"></div> <div class="card"></div> <div class="card"></div> </div> Then: var grid = new Minigrid({ container: '.cards', item: '.card', gutter: 6 }); grid.mount(); InstallationGet it from npm. npm