Re:Faster Layouts with CSS Grid and Subgrid
by baddox on Friday October 18, 2019 @04:52PM
(#21294985)
That's an okay rule of thumb, but I find myself using grid more and more for traditional flexbox applications like a horizontal list of cards that wraps. Little things like grid-gap (flex child margins are a constant source of pain) and auto-fill with minmax [0] make a big difference to me in rapid prototyping.
[0] eg: grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));