<img src="https://www.ibnet.ne.jp/column/web/201013/images/img_01.jpg"></img>
<img src="https://www.ibnet.ne.jp/column/web/201013/images/img_01.jpg"></img>
img{
  width:150px;
  height:150px;
}
img:nth-child(2){
  object-fit:cover;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.