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

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


Find similar articles under: #css