页面响应式布局时,网页图片不缩放

给img添加类

类的style为

display:block;
width:100%!important;
height:100%!important;

即可响应手机和页面的图片

猜你喜欢

转载自www.cnblogs.com/sandaman2019/p/11273461.html