/

HTML / CSS / JavaScript Tutorial

CSS Property: transform-style

[this page | pdf | back links]

The CSS (CSS3) transform-style property indicates how nested elements are to be rendered for 3D purposes when using the transform property.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

flat

(default value). Child elements do not preserve their 3D position

preserve-3d

Child elements preserve their own 3D position

 

Default Value:

flat

JavaScript syntax:

e.g. object.style.transformStyle="preserve-3d"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile