This content originally appeared on Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com
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 Writing on SaraSoueidan.com and was authored by Writing on SaraSoueidan.com
Writing on SaraSoueidan.com | 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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.