麻烦老师看看代码写的有没有问题
来源:2-20 编程练习
慕尼黑8359237
2021-08-22 19:47:24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.box{
width: 315px;
height: 300px;
background-
image: url(http://climg.mukewang.com/582c3b780001a95103000090.jpg),
url(http://climg.mukewang.com/582c3b6d0001197603000090.jpg),
url(http://climg.mukewang.com/582c3b61000122dd03000090.jpg);
background-repeat: no-repeat,no-repeat,no-repeat;
background-position: top center,center center,bottom center;
background-size: 300px 90px,300px 90px,300px 90px;
}
</style>
</head>
<body>
<div class="box">
</div>
</body>
</html>
1回答
好帮手慕然然
2021-08-23
同学你好,代码实现没问题,继续加油,祝学习愉快!
相似问题