前端 - display:box box-flex 和 display:flex flex 有什么区别?
伊谢尔伦
伊谢尔伦 2017-04-17 11:26:28
0
2
884

display:box box-flex 和 display:flex flex 有什么区别?

http://css.doyoe.com/ 在这里找到答案了

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
巴扎黑

flexbox is a CSS flexible box layout module, and the standards are constantly changing during the development process:

  1. display:box,box-{*} is the 2009 version of flexbox

  2. display:flexbox, or the function flex(), is a strange hybrid in 2011

  3. display:flex, flex-{*}, is the standard released in 2012 that is currently in use

The trend is of course to follow the latest standards, but the front-end issue must of course be decided based on the support of the browser. If the lower version of the browser only supports the old standard, and we need to support For this part of the browser, you must also write it, but their usage is still very similar, so for the sake of compatibility, it is understandable to write it at the same time.

刘奇

display:box box-flex is an early use of flex layout, it is no longer standardized, display:flex is standard

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!