面试题:写一个左中右布局占满屏幕,其中左右两块是固定宽度200 , 中间自适应宽,要求先加载中间块,请写出结构及样式:

html

        <h3>test</h3>
        <div class="left"></div>
        <div class="right"></div>
        <div class="middle"></div>

css

html,body{
            margin: 0;
            padding:0;
        }
        h3{
            color: blue;
            text-align: center;
        }
        .left{
            width: 200px;
            height: 100px;
            background: lightcoral;
            position:absolute;
            left: 0;
        }
        .right{
            width: 200px;
            height: 100px;
            position: absolute;
            right:0;
            background: lightblue;
        }
        .middle{
            margin: 0 200px;
            height: 100px;
            background:lightgrey;
        }