Object Position

Set how to position the container's content.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

Usage

<div class="d-g g-1 gtc-3">
<img class="of-none op-lt ..." src="..." />
<img class="of-none op-t ..." src="..." />
<img class="of-none op-rt ..." src="..." />
<img class="of-none op-l ..." src="..." />
<img class="of-none op-c ..." src="..." />
<img class="of-none op-r ..." src="..." />
<img class="of-none op-lb ..." src="..." />
<img class="of-none op-b ..." src="..." />
<img class="of-none op-rb ..." src="..." />
</div>

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:op-*
Small640px
md:op-*
Medium768px
lg:op-*
Large1024px
xxl:op-*
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:op-*