Kevin Powell explains why flexbox column sizing can behave unpredictably for a common layout and shows his preferred grid-based solution, including how it responds at different screen sizes. It is aimed at developers who already use CSS.
What you’ll learn
✓Explain how flexbox calculates column sizes in a common layout
✓Build a responsive multi-column layout using CSS grid
✓Compare when grid is a better fit than flexbox for columns