The transform-style<\/code> property, when applied to an element, determines if that element’s children are positioned in 3D space, or flattened.<\/p>\n\n\n\n
.parent {\n transform-style: preserve-3d;\n}<\/code><\/pre>\n\n\n\nIt accepts one of two values: flat<\/code> (the default) and preserve-3d<\/code>. To demonstrate the difference between the two values, click the toggle button in the CodePen below: