Prefer minmax(10px, 1fr) over bare 1fr in Grid
CSS-Tricks offers a short, sharp piece of grid advice: many layouts on the web are built with 1fr columns when they ought to use minmax(10px, 1fr) instead. The post itself skips straight to the fix, so here is the reasoning behind it.
With a bare 1fr, the column's minimum width is min-content, and that minimum can end up wider than intended — a situation commonly known as a grid blowout. Wrapping the track in minmax(10px, 1fr) lowers the minimum to 10px. The author deliberately avoids zero as the floor so the column does not vanish and cause further confusion.
The author acknowledges that needing this workaround is a bit unfortunate, but argues it buys more predictable behavior and saves headaches. That is the entire message.
The post's format it credits from Kilian's "You want overflow: auto, not overflow: scroll" — advice the author also endorses as true.



