This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -webkit-transform-3d Boolean CSS media feature is a Chrome extension whose value is true if vendor-prefixed CSS 3D transforms are supported.

Note: This media feature is only supported by WebKit and Blink. If possible, use an @supports feature query instead.


@media (-webkit-transform-3d) {
  .foo {
    transform-style: preserve-3d;

@media (-webkit-transform-3d: 1) {
  .foo {
    transform-style: preserve-3d;


Specification Status Comment
Compatibility Standard
The definition of '-webkit-transform-3d' in that specification.
Living Standard Initial standardization
Safari CSS Reference
'media query extensions' in that document.
Non-standard unofficial documentation Initial documentation

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support Yes ?



? Yes1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? ? ? ? ? ?

1. From version 46: this feature is behind the layout.css.prefixes.webkit preference (needs to be set to true). To change preferences in Firefox, visit about:config.

See also

Document Tags and Contributors

Contributors to this page: mfluehr, connorshea, cvrebert, mrenty, sraghav
Last updated by: mfluehr,