时间:2026-02-12 14:18:15
1、新建HTML文件
2、引入图片
3、预览效果如图
4、设置图像的高度height: auto
5、设置图像的高度height: 30%
6、设置图像的高度height: 10%
7、预览效果如图