See exactly how each object-fit keyword treats an image whose aspect ratio doesn't match its container — and tune object-position by clicking on a 2D pad. The CSS at the bottom updates live.
none if smaller than the box, else like contain.
object-position moves the image inside its box for any fit mode that doesn't fill the box completely. Percent values are anchored to that overflow/underflow space, so 0% 0% pins the image's top-left to the box's top-left and 100% 100% pins the bottom-right. Same syntax as background-position; you can also use lengths like 10px 20px or keywords (top right). It also applies to <video>, <iframe>, and replaced elements like <svg>.