显示:框和显示:flexbox之间的区别是什么 [英] What are the differences between display:box and display:flexbox
问题描述
这是我的理解,CSS柔性框布局模块正在重写, display:box
被弃用赞成 display:flexbox
。
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
.
目前在任何浏览器中都支持每晚)?有没有人知道我在哪里可以找到一些关于flexbox的新的东西,它和旧的模块之间的区别,和/或为什么旧的模块被重写的信息?
Is display:flexbox
currently supported in any browser (release, beta, or nightly)? Does anyone know where I can find some information as to what's new in flexbox, what the differences are between it and the old module, and/or why the old module was rewritten?
推荐答案
看起来这时候好的信息不可用。
It looks like at this time good information is not available. I will update this post if and when I find good information.
更新:(2/20/2012) caniuse.com 现在显示了新版本和旧版本的弹性框布局模块的浏览器支持
Update: (2/20/2012) caniuse.com now shows the browser support for both the new and old versions of the Flexible Box Layout Module
更新:(8/7/2012)Chris Coyer编写了一篇关于如何区分新旧语法的好文章。 http://css-tricks.com/old-flexbox-and-new-flexbox/
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/
这篇关于显示:框和显示:flexbox之间的区别是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!