One of the most powerful and convenient CSS Grid features is that, in addition to explicit column sizing, we have the option to repeat-to-fill columns in a Grid, and then auto-place items in them….
Source: https://css-tricks.com/auto-sizing-columns-css-grid-auto-fill-vs-auto-fit/