老师,检查下代码

来源:2-5 编程练习

流下了没有技术的眼泪

2020-03-16 17:52:13

<!DOCTYPE html>
<html lang="en">
<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;
    margin-left:100px;
     margin-top: 100px;

   }
  </style>
</head>
<body>
  <div class="per">
    <div class="son"></div>
  </div>
</body>
</html>


写回答

2回答

好帮手慕小尤

2020-03-16

同学你好,代码完成的不错!继续努力!

如果我的回答解决了你的疑惑,请采纳!祝学习愉快!

0

好帮手慕小尤

2020-03-16

同学你好,代码完成的不错!继续努力!

如果我的回答解决了你的疑惑,请采纳!祝学习愉快!

0

0 学习 · 9666 问题

查看课程