CSS实现网页图片的等比例缩放

代码如下:

<img src="1.jpg" style="clip:rect(10px 100px 90px 20px);position: absolute;width: 100px;" />


 

你可能感兴趣的:(CSS实现网页图片的等比例缩放)