Skew
Utilities for skewing elements with transform
Class reference
Usage
Skew an element by first enabling transforms with the transform
utility, then specifying the skew angle using the skew-x-{amount}
and skew-y-{amount}
utilities.
Note that because Elements implements transforms using CSS custom properties, the transform utilities are not supported in older browsers like IE11.
Responsive
To control the skew of an element at a specific breakpoint, add a {screen}:
prefix to any existing skew utility. For example, use md:skew-6
to apply the skew-6
utility at only medium screen sizes and above.
<div class="transform md:skew-6 ..."></div>
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5