Menu Home

transform-style

osbo.com | CSS | Properties | transform-style

The transform-style CSS property specifies the stacking context for the element.

Syntax

CSS

transform-style: value;

JS

object.style.transformStyle = "value";

Values

<'transform-style'> = flat | preserve-3d
flat

No stacking context.

preserve-3d

Establishes a stacking context and a containing block for all descendants.

Initial

flat

Examples

flat

preserve-3d

JS

Internal

backface-visibility

perspective

perspective-origin

rotate

scale

transform

transform-box

transform-origin

translate

External

World Wide Web Consortium (W3C)