.grid { display: grid; gap: 10px; grid-template-columns: masonry; grid-template-rows: repeat(3, 100px); }