object-fit doesn't solve the problem, it is similar to using background-image and set the background-size:cover. Still when the container's width/height ratio doesn't match the image's, there is risk that image could be inappropriately cut off
No comments yet.