css.properties

object-position

The object-position property specifies the position of replaced content.

Formal Syntax

<position>

See specification

JavaScript Access

// Access via element.style
element.style.objectPosition = '50% 50%';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
object-position32361079
bottom32361016
center32361016
left32361016
right32361016
top32361016

Related Properties