SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layout</title>
    <style media="screen">
    html * {
        padding: 0;
        margin: 0;
    }
    </style>
</head>
<body>
    <style>
    .container {
        min-width: 600px;
        color: #ffffff;
    }
 
    .left {
        float: left;
        width: 200px;
        height: 200px;
        background: red;
        margin-left: -100%;
        
    }
 
    .center {
        float: left;
        width: 100%;
        height: 250px;
        background: yellow;
        color: #000000;
    }
 
    .center .inner {
        margin: 0 200px;
    }
 
    .right {
        float: left;
        width: 200px;
        height: 200px;
        background: blue;
        margin-left: -200px;
    }
    </style>
    <article class="container">
        <div class="center">
            <div class="inner">center</div>
        </div>
        <div class="left">left</div>
        <div class="right">right</div>
    </article>
</body>
</html>