Skip to content

Glossary: CSS Layout and Responsive Design

auto-fit / auto-fill

Also written: auto-fit, auto-fill

Keywords used in `repeat()` so the grid makes as many columns as fit. `auto-fill` keeps empty columns when there are few items, so cards keep their size.

Where the book teaches it

Related terms

repeat()minmax()