img{ object-fit: cover|contain|fill|none|scale-down; }
img { width: 200px; height: 400px; object-fit: cover; }