Syntax
transform-style
Setting how children of an element are rendered in the 3D space.
Overview
Class | Declarations |
---|---|
transform-style:`value` | transform-style: `value`;
|
transform:flat | transform-style: flat;
|
transform:preserve-3d | transform-style: preserve-3d;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="transform-style:flat:hover transform-style:flat@sm transform-style:flat@dark transform-style:flat@print">…</div>