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.table .left-center-right {
            display: table;
            height: 150px;
            width: 100%;
        }
 
        .layout.table .left-center-right>div {
            display: table-cell;
        }
 
        .layout.table .left {
            width: 300px;
            background: red;
        }
 
        .layout.table .center {
            background: yellow;
            color: #000000;
        }
 
        .layout.table .right {
            width: 300px;
            background: blue;
        }
    </style>
</head>
<body>
    <!--表格布局-->
    <section class="layout table">
        <article class="left-center-right">
            <div class="left">left</div>
            <div class="center">center</div>
            <div class="right">right</div>
        </article>
    </section>
</body>
</html>