Object-fit and Object-position
Adjusting width but leaving the height alone retains the image's natural aspect ratio
Explicit
width
and
height
settings on the img tag ignore the image file's aspect ratio, potentially squishing it
object-fit
preseves the image aspect ratio while covering/containing it to whatever shape you made the img tag
object-position
keeps the focal point of the image from getting cropped out