SOURCE

console 命令行工具 X clear

                    
>
console
    <div class="dn">
        <div class="xianshiqi">
            <div class="pingmu">
              <span>&lt; ...  &gt;</span>
              <br/>
              <span> &nbsp;&nbsp; ------- //写着玩</span>
              <br/>
              <span> &nbsp;&nbsp; -------------//</span>
              <br/>
              <span>&lt; /...  &gt;</span>
            </div>
            <div class="zhijia"></div>
            <div class="dizuo"></div>
        </div>
        <div class="jixiang">
            <div class="line line1"></div>
            <div class="line line2"></div>
            <div class="line line3"></div>
            <div class="line line4"></div>
            <div class="line line5"></div>
        </div>
    </div>
 body{
            height: 100vh;
            width: 100vw;
            position: relative;
        }
        .dn{
            position: fixed;
            top: 50%;
            left: 50%;
            transform:translate(-50%,-50%);
        }
        :root{
            --border:0.8rem;
            --border-color:#330867;
            --size:20rem;
        }
        .xianshiqi{
            /* float: left; */
            left: 0px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            bottom:0px;
            z-index: 20;
            position: absolute;
            width: 100%;
            transform: translateX(-50%);
        }
        .pingmu{
            position:relative;
            width: calc(var(--size) * 1.4) ;
            height: var(--size);
            border: var(--border) solid var(--border-color);
            border-radius: 0.5rem;
            background-color: #66C1FF;

        }
        .pingmu span{
            color: #fff;
            font-size: 3rem;
            line-height: 4rem;
            padding-left:2rem;
            font-weight: 600;
        }
        .pingmu::before{
            content: "";
            position:absolute;
            height: 5%;
            width: 100%;
            bottom: 0px;
            border-top: var(--border) solid var(--border-color);
            background-color: #fff;
        }
        .zhijia{
            width: calc(var(--size) * 0.2) ;
            height: calc(var(--size) * 0.15) ;
            border: var(--border) solid var(--border-color);
            border-top: none;  
            border-bottom: none;
            background-color: #F0BEFC;
        }
        .dizuo{
            width: calc(var(--size) * 0.8) ;
            height: calc(var(--size) * 0.08) ;
            border: var(--border) solid var(--border-color);
            border-radius: 0.5rem;
            background-color: #F0BEFC;
        }

        .jixiang{
            bottom:0px;
            right: calc(var(--size) * 0.1) ;
            width: calc(var(--size) * 0.9) ;
            height: calc(var(--size) * 1.5) ;
            border-radius: 0.5rem;
            /* 机箱三层边框 */
            box-shadow: inset 0 0 0 var(--border) var(--border-color), 
                        inset 0 0 0 calc(var(--border) + 10px) #F7D7FF, 
                        inset 0 0 0 calc(var(--border) + 15px) var(--border-color);  
            z-index: 19;  
            transform: translateX(48%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        .line{
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 65%;
        }
        .line1,.line5{
            flex: 2;
        }
        .line1::before{
            content: "";
            width: 100%;
            height: 1.5rem;
            border: var(--border) solid var(--border-color);
            border-radius: 2rem;
            background-color: #FFE08A;
        }
        .line2,.line3,.line4,.line5{
            justify-content: flex-start;
        }
        .line2::before,.line3::before,.line4::before{
            content: "";
            width: 100%;
            height: calc(var(--border) * 1.3);
            /* border: var(--border) solid var(--border-color); */
            border-radius: 2rem;
            background-color: var(--border-color);
        }
        .line5::before{
            content: "";
            width: calc(var(--border) * 5);
            height: calc(var(--border) * 5);
            background-color: #FC6B79;
            border: var(--border) solid var(--border-color);
            border-radius: 50%;
        }