4 ms·
I've understood that Flexbox is what you should use for 'small layout' (controls, etc) but ultimately we should be using the new CSS grid module for 'large layo
by jimmcslim 12y ago
I've understood that Flexbox is what you should use for 'small layout' (controls, etc) but ultimately we should be using the new CSS grid module for 'large layout' (pages).
http://dev.w3.org/csswg/css-grid/ http://dev.w3.org/csswg/css-grid/
Of course, it might be a while until there is broad browser support!
http://caniuse.com/#feat=css-grid http://caniuse.com/#feat=css-grid
- runarberg 12y agoI'd think you should use flexbox for what it's good at --calculating and distributing the available space on it's children-- and grid for what it's good at --enforcing strict and precise layout outlines--.