coderef

3D transformsBaseline · Widely available

The transform CSS property and its 3D transform functions allow rotations and other transforms in three dimensions, including perspective transforms.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 14, 2022. Widely available since Sep 14, 2024.

Browser support

DesktopChrome
1–35Not supported
36+Supportedsince Jul 16, 2014
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–15Not supported
16+Supportedsince Oct 9, 2012
Current: 157
Safari
1–15.3Not supported
15.4+Supportedsince Mar 14, 2022
Current: 27
MobileChrome Android
18–35Not supported
36+Supportedsince Jul 16, 2014
Current: 155
Firefox Android
4–15Not supported
16+Supportedsince Oct 9, 2012
Current: 157
Safari iOS
1–15.3Not supported
15.4+Supportedsince Mar 14, 2022
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: backface-visibility.

Feature detection

CSS · check before using
@supports (backface-visibility: initial) {
  /* styles that rely on backface-visibility */
}

/* or in JavaScript */
if (CSS.supports("backface-visibility", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (22). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
backface-visibility36121615.4361615.4
perspective361216936169
perspective-origin361216936169
perspective-origin.bottom361216936169
perspective-origin.center361216936169
perspective-origin.left361216936169
perspective-origin.right361216936169
perspective-origin.top361216936169
perspective.none361216936169
transform-style361216936169
transform.3d361216936169
<transform-function>.matrix3d121210418103.2
<transform-function>.perspective121210418103.2
<transform-function>.perspective.none97979315.4979315.4
<transform-function>.rotate3d121210418103.2
<transform-function>.rotateX121210418103.2
<transform-function>.rotateY121210418103.2
<transform-function>.rotateZ121210418103.2
<transform-function>.scale3d121210418103.2
<transform-function>.scaleZ121210418103.2
Show 2 more
Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
<transform-function>.translate3d121210418103.2
<transform-function>.translateZ121210418103.2