小编Win*_*eef的帖子

css 中 -webkit-locale 是什么意思?

我将 html 元素上的 lang 属性设置为“en”。当我在 chrome 的样式检查器中查看时,我在 html 元素上看到了以下 css。请注意,这是浏览器添加的默认样式。

html[Attributes Style] {
    -webkit-locale: "en";
}
Run Code Online (Sandbox Code Playgroud)

当我在 Firefox 中查看它时,html 元素没有这些样式。

规范中有这个吗?
这是做什么的?
你能在css中设置这个值吗?
你应该设置这个值吗?
这适用于哪些元素?

html css

5
推荐指数
1
解决办法
1735
查看次数

标签 统计

css ×1

html ×1