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.absolute .left-center-right>div{
            position: absolute;
        }
        .layout.absolute .left {
            left:0;
            width: 200px;
            background: red;
        }
 
        .layout.absolute .center {
            left: 200px;
            right: 200px;
            background: yellow;
             color: #000000;
        }
 
        .layout.absolute .right {
            right: 0;
            width: 200px;
            background: blue;
        }
    </style>
</head>
<body>
    <!--绝对布局  -->
    <section class="layout absolute">
        <article class="left-center-right">
            <div class="left">left</div>
            <div class="center">center</div>
            <div class="right"> right</div>
        </article>
    </section>
</body>
</html>