Transform origin
Utilities for specifying the origin for an element's transformations
Class reference
Usage
Specify an element’s transform origin using the origin-{keyword}
utilities.
Responsive
To control the transform-origin of an element at a specific breakpoint, add a {screen}:
prefix to any existing transform-origin utility. For example, use md:origin-top
to apply the origin-top
utility at only medium screen sizes and above.
<img class="origin-center md:origin-top ...">
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5