Skip to main content

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

op:b
object-position: bottom;
op:c
object-position: center;
op:l
object-position: left;
op:lb
object-position: left bottom;
op:lt
object-position: left top;
op:r
object-position: right;
op:rb
object-position: right bottom;
op:rt
object-position: right top;
op:t
object-position: top;

Media Queries

Prefix a class with a breakpoint to apply it from that width up.

Pseudo Classes

Prefix a class with a state to apply it only while that state matches.