非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-webkit-transform-3d
布尔
CSS
media feature
是
Chrome extension
whose value is
true
if vendor-prefixed CSS 3D
transform
s are supported.
注意:
This media feature is only supported by WebKit and Blink. If possible, use an
@supports
feature query instead.
-webkit-transform-3d
is a Boolean
CSS
media feature
whose value is
true
if the browser supports
-webkit
prefixed CSS 3D
transform
s.
true
-webkit
prefix.
false
-webkit
are not supported by the browser.
@media (-webkit-transform-3d) {
.foo {
transform-style: preserve-3d;
}
}
@media (-webkit-transform-3d: 1) {
.foo {
transform-style: preserve-3d;
}
}
| 规范 | 状态 | 注释 |
|---|---|---|
|
Compatibility Standard
The definition of '-webkit-transform-3d' in that specification. |
实时标准 | Initial standardization |
|
Safari CSS Reference
'media query extensions' in that document. |
Non-standard unofficial documentation | Initial documentation |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-webkit-transform-3d
media feature
非标
|
Chrome 不支持 2 — 36 | Edge 不支持 12 — 79 |
Firefox
完整支持
49
|
IE 不支持 No | Opera 不支持 15 — 23 | Safari 完整支持 4 | WebView Android 不支持 ≤37 — ≤37 | Chrome Android 不支持 18 — 36 |
Firefox Android
完整支持
49
|
Opera Android 不支持 14 — 24 | Safari iOS 完整支持 3.2 | Samsung Internet Android 不支持 1.0 — 3.0 |
完整支持
不支持
非标。预期跨浏览器支持较差。
用户必须明确启用此特征。