width
and height
settings on the img tag ignore the image file's aspect ratio, potentially squishing itobject-fit
preseves the image aspect ratio while covering/containing it to whatever shape you made the img tagobject-position
keeps the focal point of the image from getting cropped out