TAG
CSS
Result
Run
License
<div class="wrap"><img src="http://resrc.devdic.com/img/bysize/below_200/01.png" /></div>
.wrap { width: 120px; height: 200px; border: 1px solid #FF0000; } .wrap > img { width: 100%; height: 100%; object-fit: fill; }
Console
expand_less
License
License
by DevDic
Close