5-4编程练习请老师检查

来源:5-4 编程练习

阿阿阿仁

2020-03-11 11:45:41


<!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;

        }

       .clearDiv{

           clear: both;

       }

    </style>

</head>

<body>

    

    <div class="per">

         

        <div class="li"></div>

        <div class="li"></div>

        <!-- 此处写代码 -->

        <div class="clearDiv"></div>

    </div>

</body>

</html>


写回答

1回答

好帮手慕小脸

2020-03-11

同学你好,代码完成的很棒!继续努力!

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

0

0 学习 · 9666 问题

查看课程