transform-style property CSS Reference

Definition and Usage

The transform-style CSS property determines if the children of the element are positioned in the 3D-space or are flattened in the plane of the element.

If flattened, the children will not exist on their own in the 3D-space.

As this property is not inherited, it must be set for all non-leaf descendants of the element.

  • Initial flat
  • Applies to transformable elements
  • Inherited no
  • Media visual
  • Computed Value as specified
  • Animatable no
  • Canonical order the unique non-ambiguous order defined by the formal grammar


Formal syntax: flat | preserve-3d
transform-style: preserve-3d
transform-style: flat
transform-style: inherit


Indicates that the children of the element should be positioned in the 3D-space.
Indicates that the children of the element are lying in the plane of the element itself.


No examples


Desktop browsers

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 12-webkit 10.0 (10)-moz
16.0 (16)
Not supported 15-webkit (Yes)-webkit

Mobile browsers

Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support 3.0-webkit 10.0 (10)-moz
16.0 (16)
NA Not supported (Yes)-webkit

Relative articles