4 ms·
So... you have a grid that lets you set width. So does bootstrap. Flexbox is also not supported in every browser. Height setting (based on max height) would be
by lsiebert 11y ago
So... you have a grid that lets you set width. So does bootstrap. Flexbox is also not supported in every browser. Height setting (based on max height) would be interesting.
- madeofpalk 11y agoOf course it depends on the industry you're making the site for, Flexbox actually has pretty decent support - http://caniuse.com/#feat=flexbox http://caniuse.com/#feat=flexbox If you can ditch (or gracefully degrade) IE 9, then you should be fine with Flexbox.
- jessedhillon 11y agoWhat do you mean by "every browser"? Current versions of all browsers have full support. The second most recent version of Safari supports it with prefixes. IE 10 is the most recent version that browser which doesn't support it. Source: http://caniuse.com/#feat=flexbox http://caniuse.com/#feat=flexbox
- cobalt 11y agoIE 10 supports flexbox with the 2012 syntax. There is some wonky behavior, but prefixes will work
- cageface 11y agoFloat-based grids like Bootstrap have a lot of problems. If you can restrict yourself to IE10+, which is pretty reasonable for a lot of sites these days, you can use flexbox and save yourself a lot of suffering. Looks like the next version of Bootstrap will have an opt-in flexbox grid too.