老师,帮我检查一下有错误吗?
来源:2-5 编程练习
慕先生8145006
2019-08-29 11:02:21
<!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-08-29
同学的代码完成的非常好,继续加油。
祝:学习愉快~
相似问题