/ #ffffff

CSS Grid

1.grid {
2  display: grid;
3  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
4  gap: 1rem;
5}
1<div className={css.grid}>
2  <Img src="/six/pemberton-flowers.jpeg"/>
3  <Img src="/six/iceland.jpeg"/>
4  <Img src="/six/skybridge.jpg"/>
5  <Img src="/six/trainwreck.jpg"/>
6</div>