object-positionを指定する

object-fitとobject-positionの組み合わせ例

object-fit: contain;のみ指定

object-fit: contain;
object-position: 50px 50px;

object-fit: cover;
object-position: 100% 100%;

object-fit: none;
object-position: center right;