麻烦老师看看代码写的有没有问题

来源:2-20 编程练习

慕尼黑8359237

2021-08-22 19:47:24


http://img.mukewang.com/climg/612238ef094718d207850571.jpg


<!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{

            width315px;

            height300px;

            background-

imageurl(http://climg.mukewang.com/582c3b780001a95103000090.jpg),

                              url(http://climg.mukewang.com/582c3b6d0001197603000090.jpg),

                               url(http://climg.mukewang.com/582c3b61000122dd03000090.jpg);

            background-repeatno-repeat,no-repeat,no-repeat;

            background-positiontop center,center center,bottom center;

            background-size300px 90px,300px 90px,300px 90px;

        

        }


    </style>

</head>

<body>

    <div class="box">

    </div>

</body>

</html>


写回答

1回答

好帮手慕然然

2021-08-23

同学你好,代码实现没问题,继续加油,祝学习愉快!

0

0 学习 · 17877 问题

查看课程