Skip to content
CSS·Advanced·Conceptual·1 min read

How do auto-fit and auto-fill affect responsive grids?

Short interview answer

Both repeat tracks that fit; auto-fit collapses empty tracks so occupied tracks can expand, while auto-fill preserves the potential empty track structure.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Responsive design and container queries

Related questions