一、flex实现
代码如下:
<header></header>
<div class="container">
<div class="left"></div>
<div class="center"></div>
<div class="right"></div>
</div>
<footer></footer>
header {
height: 20px;
backgroundcolor: skybule;
}
.container {
display: flex
}
标签:flex,container,header,布局,skybule,双飞翼 From: https://www.cnblogs.com/muchenli/p/17572370.html