老师麻烦看看
来源:2-18 编程练习
DANLAI
2020-05-25 17:03:12
<!DOCTYPE html>
<html>
<head>
<title>多背景图</title>
<style type="text/css">
*{
padding: 0;
margin: 0;
}
div{
border:1px solid pink;
margin: 0 auto;
width: 800px;
height: 1000px;
background:url(http://climg.mukewang.com/582c3b780001a95103000090.jpg)no-repeat center 100px,
url(http://climg.mukewang.com/582c3b6d0001197603000090.jpg)no-repeat center 400px,
url(http://climg.mukewang.com/582c3b61000122dd03000090.jpg)no-repeat center 700px;
background-size: 90%;
}
</style>
</head>
<body>
<div></div>
</body>
</html>
1回答
好帮手慕粉
2020-05-25
同学你好,代码实现的是正确的。继续加油,祝学习愉快~