CSS3 object-fit/object-position
Method of specifying how an object (image or video) should fit inside its box. object-fit options include "contain" (fit according to aspect ratio), "fill" (stretches object to fill) and "cover" (overflows box but maintains ratio), where object-position allows the object to be repositioned like background-image does.
css property: object-position
css property: object-position: bottom
css property: object-position: center
css property: object-position: left
css property: object-position: right
css property: object-position: top
10 results found.