当前位置:网站首页>The width of the picture in rich text used by wechat applet exceeds the problem

The width of the picture in rich text used by wechat applet exceeds the problem

2022-07-04 06:10:00 Bald because of the name

Many methods are available online But it can't solve this problem
Such as to img Tag plus width:100%;height:auto; But it didn't work

The way I found is to use css Property selector for to img Plus the style of 100% width It turned out to be a success

[alt]{
    
	max-width:100%;
}

It's that simple I hope I can help you

原网站

版权声明
本文为[Bald because of the name]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207040605015564.html