A flexible, responsive Masonry-style layout using CSS Grid and a small amount of JavaScript I’ve been working on a way of using CSS Grid and a small amount of JavaScript to make Masonry style layouts. I reproduce all the functionality of Masonry whilst remaining flexible and responsive thanks to CSS Grid. Before we dive in to the method, here is a CodePen with the complete solution. (Warning : The