3 ms·
Honestly, I found flexbox to be a mess. Old specs, new specs, polyfills, vendor prefixes and so on make it painful to implement. And once you succeed the code l
by bgarbiak 14y ago
Honestly, I found flexbox to be a mess. Old specs, new specs, polyfills, vendor prefixes and so on make it painful to implement. And once you succeed the code looks horribly. Heck, the code isn't that much clearer even if you resort to pure latest specification.
Basically, flexbox doesn't make things much easier than the old 'hackery' solutions.
Furthermore, alternative proposals looks way more sensible.
Layout Templates: http://www.w3.org/TR/2009/WD-css3-layout-20090402/ http://www.w3.org/TR/2009/WD-css3-layout-20090402/ (demos: http://a.deveria.com/csstpl/ http://a.deveria.com/csstpl/, javascript polyfill: http://code.google.com/p/css-template-layout/ http://code.google.com/p/css-template-layout/)
Grid Layout: http://dev.w3.org/csswg/css3-grid-layout/ http://dev.w3.org/csswg/css3-grid-layout/ (IE10 demo: http://ie.microsoft.com/testdrive/graphics/hands-on-css3/hands-on_grid.htm http://ie.microsoft.com/testdrive/graphics/hands-on-css3/han...)