image_grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); grid-column-gap: 40px; grid-row-gap: 40px; justify-items: center; align-items: center; }