CSS object-position Property Reference

The CSS object-position property is a standard property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

CSS object-position Property Reference

The CSS object-position property is a standard property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

object-position overview

The CSS object-position property is a standard property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

object-position formal syntax
FieldValue
Formal syntax<position>
Initial value50% 50%
Applies toreplacedElements
InheritedNo
PercentagesreferToWidthAndHeightOfElement
Computed valueasSpecified
Animation typerepeatableList
Mediavisual
Specification groupCSS Images
StatusStandard

Practical examples

These declarations demonstrate valid ways to set object-position. The initial and inherit global keywords remain available even when a property-specific value is preferable.

object-position live example
CSS .reset-example { object-position: initial; } .inherit-example { object-position: inherit; } @supports (object-position: initial) { .supported { object-position: initial; } }

Description

The CSS object-position property is a standard property in CSS Images. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: object-position
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies