display:box 和 display:flexbox 有什么区别 [英] What are the differences between display:box and display:flexbox

查看:26
本文介绍了display:box 和 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.

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 现在显示浏览器支持新旧版本的Flexible Box Layout Module

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/

这篇关于display:box 和 display:flexbox 有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆