Skip to content

Object Fit

Elevate CSS features a compound property for setting how a replaced element should fit its container:


fit Property Modifiers

PropertyExpected ValuesExample
fitfill, contain, cover, none, scale-downfit:cover

Object Position

PropertyExpected ValuesExample
object-positionPassThroughToken (e.g., (center_top) )object-position:(center_top)