| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 | 
							- <!DOCTYPE html>
 
- <html lang="en">
 
- <head>
 
-     <meta charset="UTF-8">
 
-     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-     <title>Document</title>
 
-     <style>
 
-         /* BFC */
 
-         .box{
 
-             width: 200px;
 
-             height: 200px;
 
-             background-color: blue;
 
-             /* overflow: hidden; */
 
-             border:1px solid black;
 
-         }
 
-         .box2{
 
-             width: 100px;
 
-             height: 100px;
 
-             background-color: red;
 
-             margin-left: 10px;
 
-             margin-top: 50px;
 
-         }
 
-         .box3,.box4{
 
-             width: 100px;
 
-             height: 100px;
 
-             background-color: green;
 
-         }
 
-         .box3{
 
-             margin-bottom: 30px;
 
-         }
 
-         .box4{
 
-             margin-top: 20px;
 
-             background-color: purple;
 
-         }
 
-         .box5{
 
-             overflow: hidden;
 
-         }
 
-         .box6,.box7{
 
-             width: 100px;
 
-             height: 100px;
 
-             background-color: blue;
 
-             float: left;
 
-         }
 
-         .box7{
 
-             background-color: red;
 
-         }
 
-         .box8{
 
-             overflow: hidden;
 
-             background-color:green;
 
-         }
 
-     </style>
 
- </head>
 
- <body>
 
-     <!-- 外边距溢出 -->
 
-     <!-- <div class="box">
 
-         <div class="box2"></div>
 
-     </div> -->
 
-     <!-- 外边距合并 -->
 
-     <!-- <div class="box5">
 
-         <div class="box3"></div>
 
-     </div>
 
-     <div class="box4"></div> -->
 
-     <div class="box8">
 
-         <div class="box6"></div>
 
-         <div class="box7"></div>
 
-     </div>
 
- </body>
 
- </html>
 
 
  |