Path: blob/main/files/en-us/web/css/@media/-webkit-transform-3d/index.md
6512 views
------{{CSSRef}}
The -webkit-transform-3d Boolean CSS media feature is a WebKit extension whose value is true if vendor-prefixed CSS 3D {{cssxref("transform")}}s are supported.
Note: While this media feature is currently supported by most browsers. If possible, use an {{cssxref("@supports")}} feature query instead.
Syntax
-webkit-transform-3d is a Boolean CSS media feature whose value is true if the browser supports -webkit prefixed CSS 3D {{cssxref("transform")}}s.
Values
true: The browser supports the 3D CSS transforms with the
-webkitprefix and supports non-standard, prefixed media queries.
false: The 3D CSS transforms prefixed with
-webkitare not supported by the browser.
Examples
Examples of media queries with -webkit-transform-3d
A better method for checking for browser support is using a feature query:
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{cssxref("@media/-webkit-transform-2d", "-webkit-transform-2d")}}
{{cssxref("@media/-webkit-transition", "-webkit-transition")}}
{{cssxref("@media/-webkit-animation", "-webkit-animation")}}
{{cssxref("transform")}} and using CSS transforms
{{cssxref("@media")}} and Using media queries
{{cssxref("@supports")}} and using feature queries