auto-fill

A repeat() keyword that creates as many tracks as fit the container and keeps the empty ones, leaving blank columns if there are few items.

In more detail

With many items, auto-fill and auto-fit look the same; the difference only shows when there are fewer items than columns. Choose auto-fill when you want items to keep a steady size and alignment, and auto-fit when you want them to stretch.

Related terms

Taught in

References