显示文档:-webkit-inline-box; [英] documentation on display: -webkit-inline-box;

查看:69
本文介绍了显示文档:-webkit-inline-box;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想了解更多有关-webkit-inline-box属性的细节,但我似乎找不到任何地方。我试过正常的渠道的w3c,google,css-tricks的bug我不会想出任何东西。我认为它是来自flexbox的旧继承代码。

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.

有没有人知道...的细节...

Does anyone know the details of...

display: -webkit-inline-box;

推荐答案


我认为它是来自flexbox的旧继承代码。

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

灵活的框,由 display:box 定义display:inline-box 分别是现在所谓的flex容器的老化身( display:flex display:inline-flex )。

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).

它们在这个版本的Flexbox规范,但它不说任何关于这两个显示值<在CSS中,可以通过设置'display'属性来创建灵活的盒子(在本规范中通常仅被称为盒子)。p>

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

可以使用值box指定块级框,并且可以使用inline-box的值指定内联框。

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.

其他所有内容都由框 - *

实施和生产站点仍然存在,使用旧的flexbox代码,但毫无疑问,你今天不应该使用它们。着重于根据最新的Flexbox规范编写CSS,其中包含现代浏览器提供的合理支持,并且正在进行标准化。

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.

这篇关于显示文档:-webkit-inline-box;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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