Grids That Fill the Space: repeat(), minmax() and auto-fit

One line of CSS, repeat(auto-fit, minmax(14rem, 1fr)), makes a gallery that shows one column on a phone, four on a laptop and more on a wide screen, with no media query at all.

Updated

Cheat sheet: Grids That Fill the Space: repeat(), minmax() and auto-fit
Category
CSS
Level
Journeyman
Tags
Auto-fill, Auto-fit, CSS, Implicit grid, minmax(), repeat()