How to make two images responsive with fixed height and plain CSS?
问题 I want to make the two images responsive with a fixed height similar to here. I created the jsfiddle Somehow the line break is added too soon. I tried to add width=auto however this did not work. Moreover it would be good if after a certain width it would become a single column. 回答1: It's not super clear what you're asking but there are a few ways to make images responsive with a fixed height and fluid width. The easiest of which is to use the object-fit: cover rule. Try adding object-fit: