图片自适应页面大小的简单HTML代码
这个代码把<div>里的内容都删除了,很简单,在Firefox 98的F12模式、Edge 100和Chrome 96的Responsive模式下都测试通过。
<div id=“Layer1”> <img src=“./1.jpg” width=“100%” height=“100%” /> </div>
这个代码把<div>里的内容都删除了,很简单,在Firefox 98的F12模式、Edge 100和Chrome 96的Responsive模式下都测试通过。
<div id=“Layer1”> <img src=“./1.jpg” width=“100%” height=“100%” /> </div>