SOURCE

console 命令行工具 X clear

                    
>
console
<html>
    <body>
        <div class="outer">
            <div class="box">
                <div class="left"></div>
                <div class="center">
                    <div class="center-header">
                        <div class="center-header-left"></div>
                        <div class="center-header-right"></div>
                    </div>
                    <div class="center-footer"></div>
                </div>
                <div class="right">&gt;</div>
            </div>
        </div>
    </body>
</html>
body, html{
    padding: 0;
    margin: 0;
}

.outer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.box{
    border: 1px solid black;
    width: 400px;
    height: 200px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}
.left{
    background-color: black;
    width: 200px;
    height: 200px;
}
.center{
    display: flex;
    flex-direction: column;
    margin: 0px 10px;
    width: 50%;
    height: 100%;
}
.center-header{
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.center-header-left{
    background-color: yellow;
    width: 50px;
}
.center-header-right{
    background-color: red;
    width: 50px;
}
.center-footer{
    background-color: green;
    width: 100%;
    height: 100%;
}

.right{
    font-size: 30px;
    width: 30px;
    justify-content: center;
    display: flex;
    align-items:center;
}