热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

文档显示:-webkit-inline-box;-documentationondisplay:-webkit-inline-box;

Idlovetofindoutmoredetailsaboutthe-webkit-inline-boxpropertybutIcantseemtofindany

I'd love to find out more details about the -webkit-inline-box property but I can't seem to find anything anywhere. I tried the normal channels of w3c, google, css-tricks bug I'm not coming up with anything. I'm thinking that it's old inherited code from flexbox.

我很想知道更多关于-webkit-inline-box属性的细节,但是我在任何地方都找不到任何东西。我尝试了w3c的正常渠道,谷歌,css- bug,我什么都没想出来。我认为这是来自flexbox的老旧代码。

Does anyone know the details of...

有谁知道……

display: -webkit-inline-box;

?

吗?

1 个解决方案

#1


12  

I'm thinking that it's old inherited code from flexbox.

我认为这是来自flexbox的老旧代码。

You're correct.

你是正确的。

Flexible boxes, defined by display: box and display: inline-box respectively, were old incarnations of what are now known as flex containers (display: flex and display: inline-flex).

灵活的盒子,分别由display: box和display: inline-box定义,是现在称为flex容器的旧版本(display: flex和display: inline-flex)。

They are described in this version of the Flexbox spec, but it doesn't say anything about these two display values other than

它们在这个版本的Flexbox规范中进行了描述,但是除了这两个显示值,它没有说明其他任何东西

In CSS, flexible boxes (often referred to only as boxes in this specification) may be created by setting the ‘display’ property. A block-level box can be specified with a value of ‘box’ and an inline box can be specified using a value of inline-box.

在CSS中,可以通过设置“display”属性来创建灵活的框(通常只在本规范中引用为box)。块级的框可以用“box”值指定,而内联框可以用“inline-box”值指定。

Everything else is described by the box-* properties in the rest of that document.

该文档其余部分的box-*属性描述了其他所有内容。

Implementations and production sites still exist that use the old flexbox code, but it goes without saying that you should never have to use them today. Focus on writing CSS according to the latest Flexbox spec, which enjoys reasonable support by modern browsers and is on track for standardization.

实现和生产站点仍然存在使用旧的flexboxcode,但是不用说,你今天不应该使用它们。根据最新的Flexbox规范,专注于编写CSS,它得到了现代浏览器的合理支持,并有望实现标准化。


推荐阅读
author-avatar
cathy李lee
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有