时间:2024-10-11 23:16:32
1、打开一个html代码页面,创建一个div标签。如图
2、使用css的background-repeat属性设置背景图片不重复。如图
3、保存html代码后使用浏览器打开,即可看到页面上只显示一张图片。如图