What are the differences between display:box and display:flexbox

前端 未结 3 1351
梦如初夏
梦如初夏 2020-12-17 21:09

It\'s my understanding that the CSS Flexible Box Layout module is being rewritten and that display:box is being deprecated in favor of display:flexbox

相关标签:
3条回答
  • 2020-12-17 21:41

    Compatibility table for flexbox support

    In short: IE10+, Firefox, Chrome, Safari, iOS and Android.

    0 讨论(0)
  • 2020-12-17 21:42

    It looks like at this time good information is not available. I will update this post if and when I find good information.

    Update: (2/20/2012) caniuse.com now shows the browser support for both the new and old versions of the Flexible Box Layout Module

    Update: (8/7/2012) Chris Coyer has put together a nice article about how to tell the difference between the new and old syntax. http://css-tricks.com/old-flexbox-and-new-flexbox/

    0 讨论(0)
  • 2020-12-17 21:42

    As you mention, the official values for "display" in the Flexbox spec are "flexbox" and "inline-flexbox", as of the March 2011 Working Draft. The "box" value was mentioned in the first Working Draft (July 2009) and is the one that has most widespread support at the moment, but should now be replaced by "flexbox".

    0 讨论(0)
提交回复
热议问题