Definition and Usage
The 'object-position' property determines the alignment of the replaced element inside its box.
Name: | object-position |
---|---|
Value: | <position> |
Initial: | 50% 50% |
Applies to: | replaced elements |
Inherited: | no |
Percentages: | refer to width and height of box itself |
Media: | visual |
Computed value: | specified value |
Syntax
object-position : <position>