Layouts

Object Position

Utilities for sets the alignment of the selected replaced element.


Variant

Active Checked Child-Selection Dark Mode Disabled Expand First-Last-Selection First-Letter Focus Focus-Visible Focus-Within Fullscreen Group-Focus Group-Hover Hover Landscape Light Mode Portrait Reduce-Motion Responsive Selection-Hover Visited

API

classcss
object-topobject-position: top
object-bottomobject-position: bottom
object-centerobject-position: center
object-leftobject-position: left
object-left-bottomobject-position: left bottom
object-left-topobject-position: left top
object-rightobject-position: right
object-right-bottomobject-position: right bottom
object-right-topobject-position: right top

Usage

Original
object-top
object-left
object-left-bottom
object-left-top
object-right
object-right-bottom
object-right-top
<img class="object-top ... object-none ... width-24 height-24" src="...">
HTML
img {
@extend
.object-top,
.object-none,
.width-24,
.height-24;
}
SCSS