老师。帮我检查一下有错误吗?
来源:1-2 编程练习
慕先生8145006
2019-08-29 09:38:52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
padding: 0;
margin: 0;
}
.blue{
width: 100px;
height: 100px;
background: blue;
/*在此处添加相应代码*/
position: relative;
top: 50px;
left: 50px;
}
.red{
width: 100px;
height: 100px;
background: red;
}
</style>
</head>
<body>
<div class="blue"></div>
<div class="red"></div>
</body>
</html>
1回答
好帮手慕阿满
2019-08-29
同学的代码完成的不错,继续加油。
祝:学习愉快~
相似问题