This content originally appeared on Sara Soueidan — UI developer and was authored by Sara Soueidan
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.
This content originally appeared on Sara Soueidan — UI developer and was authored by Sara Soueidan

Sara Soueidan | Sciencx (2017-12-29T00:00:00+00:00) Auto-Sizing Columns in CSS Grid: auto-fill vs auto-fit. Retrieved from https://www.scien.cx/2017/12/29/auto-sizing-columns-in-css-grid-auto-fill-vs-auto-fit-2/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.