一、基本网格布局
代码和网页效果如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<style>
.a {
display: flex;
margin-top: 3px;
text-align: center;
}
.a11,.a12 {
background-color: burlywood;
margin-left: 3px;
height: 60px;
flex: 1;
}
.a21,.a22,.a23 {
background-color: burlywood;
margin-left: 3px;
height: