CSS Object-Position CSS
The object-position property will define how an element will position into a box with an established height and width.
Usually applied to an image or video.
Syntax -
Object-position: value% value%
|
Now we will see Example
Example 1 - Image without property -
Output -
Example 2 - Using with property moving to right
Output -