老师,我有没有写对。

来源:2-4 编程练习

慕标1256601

2019-03-12 11:46:37

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    /*完善下列代码*/
    .per{
     width: 300px;
     height: 300px;
     background: red;
     margin-left:200px;
     margin-top: 200px;
     position: relative;
   }   .son{
     width: 100px;
     height: 100px;
     background: blue;
     position: absolute;
     top: 100px;
     left: 100px;
   }
  </style>
</head>
<body>
  <div class="per">
    <div class="son"></div>
  </div>
</body>
</html>


写回答

1回答

好帮手慕查理

2019-03-12

您好,正确哦~继续加油!

0

0 学习 · 4928 问题

查看课程