老师,这样对吗

来源:2-14 编程练习

Yuri沫

2020-01-18 14:38:10

<!DOCTYPE html>

<html>

<head>

    <meta charset="UTF-8">

    <title></title>

    <style>

        body {

            background: #f3f3f3;

        }

       /*此处补充代码*/

       div{

           display:inline-block;

           margin-right:30px;

           width:100px;

           height:200px;

           border:8px solid red;

       }

       .div1{

           width:200px;

           height:100px;

           border-radius:200px 50px 30px 50px/ 0px 50px 30px;

       }

       .div2{

           border-radius:10px 50px 100px 10px / 10px 40px 100px 10px;

       }

       .div3{

           border-radius:10px 40px / 10px 40px;

       }

    </style>

</head>


<body>

   <!--此处补充代码-->

   <div class="div1"></div>

   <div class="div2"></div>

   <div class="div3"></div>

</body>

</html>


写回答

1回答

好帮手慕言

2020-01-18

同学你好,效果是正确的,继续加油,祝学习愉快~

0

0 学习 · 5012 问题

查看课程