console
<!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>
.a {
width: 300px;
height: 300px;
background-color: pink;
}
.b {
float: left;
background-color: red;
width: 100px;
height: 100px;
}
.c {
float: right;
background-color: yellow;
width: 100px;
height: 100px;
}
.d {
float: left;
background-color: black;
width: 100px;
height: 100px;
}
.e {
float: left;
background-color: black;
width: 100px;
height: 100px;
}
.f {
float: left;
background-color: white;
width: 100px;
height: 100px;
}
.g {
float: left;
background-color: black;
width: 100px;
height: 100px;
}
.h {
float: left;
background-color: green;
width: 100px;
height: 100px;
}
.i {
float: left;
background-color: black;
width: 100px;
height: 100px;
}
.j {
float: left;
background-color: blue;
width: 100px;
height: 100px;
}
</style>
</head>
<body>
<div class="a">
<div class="b">红</div>
<div class="c">黄</div>
<div class="d">黑</div>
<div class="e">黑</div>
<div class="f">白</div>
<div class="g">黑</div>
<div class="h">绿</div>
<div class="i">黑</div>
<div class="j">蓝</div>
</div>
</body>
</html>