老师,这个样子可以吗

来源:2-14 编程练习

qq_深海_35

2019-01-22 21:28:26

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    body {
      background: #f3f3f3;
    }
    div {
      margin: 50px auto;
      width: 100px;
      height: 200px;
      border: 5px solid #f00;
    }
    .box1 {
      width: 200px;
      height: 100px;
      border-radius: 0 50px 30px / 0 50px 100px;
    }
    .box2 {
      border-radius: 15px 50px 100px 10px;
    }
    .box3 {
      border-radius: 15px 40px;
    }
  </style>
</head>
<body>
  <div class="box1"></div>
  <div class="box2"></div>
  <div class="box3"></div>
</body>
</html>


写回答

1回答

好帮手慕星星

2019-01-23

你好,代码实现效果是可以的。继续加油!

0

0 学习 · 5012 问题

查看课程