Spec-Zone.ru › CSS

`-webkit-transform-3d` CSS media feature

Baseline Widely available

This feature is well established and works across many devices and browser versions. It's been available across browsers since September 2016.

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

Note: While this media feature is currently supported by most browsers. If possible, use an @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 transforms.

Values

true
The browser supports the 3D CSS transforms with the -webkit prefix and supports non-standard, prefixed media queries.
false
The 3D CSS transforms prefixed with -webkit are not supported by the browser.

Examples

Examples of media queries with -webkit-transform-3d

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

A better method for checking for browser support is using a feature query:

@supports (transform-style) {
  .foo {
    transform-style: preserve-3d;
  }
}

Specifications

Specification
Compatibility
# css-media-queries-webkit-transform-3d

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on iOS Samsung Internet WebView Android WebView on iOS
-webkit-transform-3d
2
12
49
15
4
18
49
14
3.2
1.0
4.4
3.2

See also

  • -webkit-transform-2d
  • -webkit-transition
  • -webkit-animation
  • transform and using CSS transforms
  • @media and Using media queries
  • @supports and using feature queries

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/-webkit-transform-3d

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API