请老师检查一下代码谢谢。
来源:3-2 编程练习
慕斯卡2474635
2021-05-25 16:00:11
<!DOCTYPE html>
<html lang="en">
<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回答
同学你好,代码实现效果很棒。继续加油,祝学习愉快
相似问题