老师请检查
来源:5-4 编程练习
piii
2020-08-04 23:44:51
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.per{
width: 300px;
height: auto;
border:2px solid #aaa;
}
.li{
width: 100px;
height: 100px;
background: red;
margin: 5px;
float: left;
}
.clear{
clear: both;
}
</style>
</head>
<body>
<div class="per">
<div class="li"></div>
<div class="li"></div>
<div class="clear"></div>
</div>
</body>
</html>1回答
同学你好,代码完成的很棒!继续努力!
如果我的回答解决了你的疑惑,请采纳!祝学习愉快!