Skip to main content

Transform Style

Utilities for controlling whether children are positioned in 3D space.

CSS Property:transform-style
Classes:2

Transform Style Classes

ClassCSS
transform-flattransform-style: flat;
transform-3dtransform-style: preserve-3d;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[transform-style:value]

Responsive Variants

Apply transform style utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:transform-flat
768px+md:md:transform-flat
1024px+lg:lg:transform-flat
1280px+xl:xl:transform-flat
1536px+2xl:2xl:transform-flat