4 ms·
CSS Grid Layout is definitely not a dead end, it just didn't have enough support to showcase (yet). As for the difference, Flexbox is for one-dimensional layou
by philipwalton 13y ago
CSS Grid Layout is definitely not a dead end, it just didn't have enough support to showcase (yet).
As for the difference, Flexbox is for one-dimensional layout and Grids are for two-dimensional layout.
Grids will eventually be able to do what you now need a flexbox within a flexbox to do, and much more. They'll be especially helpful for layouts that need to be dramatically different across media breakpoints.
Hope that helps!