Transforms
Utilities for controlling if an element's backface is visible.
Class | Styles |
---|---|
backface-hidden | backface-visibility: hidden; |
backface-visible | backface-visibility: visible; |
Use the backface-visible
utility to show the backface of an element, like a cube, even when it's rotated away from view:
Prefix a backface-visibility
utility with a breakpoint variant like md:
to only apply the utility at medium screen sizes and above:
<div class="backface-visible md:backface-hidden ..."> <!-- ... --></div>
Learn more about using variants in the variants documentation.