SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layout</title>
    <style media="screen">
        html * {
            padding: 0;
            margin: 0;
        }
        .layout article div {
            min-height: 150px;
            color: #ffffff;
        }
        .layout.flexbox .left-center-right{
            display: flex;
        }
         
        .layout.flexbox .left {
            width: 300px;
            background: red;
        }
        .layout.flexbox .center {
            background: yellow;
            flex: 1;
            color: #000000;
        }
        .layout.flexbox .right {
            width: 300px;
            background: blue;
        }
    </style>
</head>
<body>
    <!--flexbox  -->
    <section class="layout flexbox">
        <article class="left-center-right">
            <div class="left">left</div>
            <div class="center">
                center
            </div>
            <div class="right">right</div>
        </article>
    </section>
</body>
</html>