Auto-Sizing Columns in CSS Grid: auto-fill vs auto-fit
Articles & Blogs

Auto-Sizing Columns in CSS Grid: auto-fill vs auto-fit

Dec 28, 2017

<p class="deck"> In this article I explain the subtle but important difference between <code>auto-fill</code> and <code>auto-fit</code> for sizing columns in CSS Grid. Each of them exhibits a responsive behavior once compbined with <code>repeat()</code> that you may or may not want for your responsive layout. </p>

Jump to
Projectsbrowse
Peoplebrowse
Companiesbrowse
Saved
Editor
Autosaves as you type