Object position
Utilities for controlling how a replaced element's content should be positioned within its container
Class reference
Usage
Use the .object-{side}
utilities to specify how a replaced element’s content should be positioned within its container.
Responsive
To position an object only at a specific breakpoint, add a {screen}:
prefix to any existing object position utility. For example, adding the class md:object-top
to an element would apply the object-top
utility at medium screen sizes and above.
<img class="object-center md:object-top ..." src="...">
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5