3 ms·
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
by baddox 7y ago
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));
- Vanderson 7y agoFirefox supports grid-gap for flex, but I no other browsers do yet. https://caniuse.com/#search=gap https://caniuse.com/#search=gap