龍巖易富通網(wǎng)絡(luò)科技有限公司

龍巖小程序開發(fā),龍巖分銷系統(tǒng)

CSS邊框長(zhǎng)度控制

2020.02.02 | 1718閱讀 | 0條評(píng)論 | css

1871969-20191126153459547-177945204.png


<div class="content-block">

     <div class="box-container">

         <div class="border-top">border top</div>

     </div>

     <div class="box-container">

         <div class="border-left">border left</div>

     </div>

     <div class="box-container">

         <div class="border-right">border right</div>

     </div>

     <div class="box-container">

         <div class="border-bottom">border bottom</div>

     </div>

</div>


-----------------------------------------------------------------------


.box-container {

    position: relative;

    width: 90%;

    color: #777;

}


.border-top {

    background: #b4bcbf;

    padding: 15px;

}


.border-top:before {

        content: '';

        position: absolute;

        left: 42%;

        top: 0;

        bottom: auto;

        right: auto;

        height: 7px;

        width: 50%;

        background-color: #8796a9;

}


.border-left {

    background: #dfdad6;

    padding: 15px;

}


.border-left:before {

        content: '';

        position: absolute;

        left: 0;

        top: 6%;

        bottom: auto;

        right: auto;

        height: 52%;

        width: 5px;

        background-color: #a89d9e;

}


.border-right {

    background: #eee9c4;

    padding: 15px;

}


.border-right:after {

        content: '';

        position: absolute;

        left: auto;

        top: auto;

        bottom: 5px;

        right: 0;

        height: 52%;

        width: 5px;

        background-color: #f39c81;

}


.border-bottom {

    background: #bcdc9d;

    padding: 15px;

}


.border-bottom:after {

        content: '';

        position: absolute;

        left: 18px;

        top: auto;

        bottom: 0;

        right: auto;

        height: 6px;

        width: 105px;

        background-color: #32b66b;

}



贊 (

發(fā)表評(píng)論

主站蜘蛛池模板: 国产色综合久久无码有码| 精品亚洲综合久久中文字幕| 色久综合网精品一区二区| 亚洲AV人无码综合在线观看| 少妇人妻综合久久中文字幕| 国产成人综合久久久久久| 色99久久久久高潮综合影院| 亚洲国产综合无码一区| 久久综合鬼色88久久精品综合自在自线噜噜| 婷婷色香五月综合激激情| 亚洲国产国产综合一区首页| 天天在线综合网| 亚洲国产综合精品中文第一| 日韩欧美色综合网站| 国产欧美日韩综合自拍| 亚洲AV综合色区无码一区爱AV| 欧美日韩国产综合视频一区二区二| 亚洲综合一区二区精品导航| 91精品国产综合久久香蕉| 国产成人亚洲综合色影视| 亚洲日韩在线中文字幕综合| 国产成人综合在线观看网站| 综合欧美亚洲日本一区| 91精品国产综合久久久久久| 狠狠色综合网站| 久久久久一级精品亚洲国产成人综合AV区| 久久影院综合精品| 鲁一鲁一鲁一鲁一曰综合网| 一本色道久久88精品综合| 色综合欧美在线视频区| 成人亚洲综合天堂| 伊人久久大香线蕉综合5g| 国产综合免费精品久久久| 亚洲欧美国产日产综合不卡| 亚洲国产综合人成综合网站| 97se色综合一区二区二区| 伊人久久综合热线大杳蕉下载| 九九久久99综合一区二区| 日日AV色欲香天天综合网| 婷婷五月综合丁香在线| 伊人久久大香线蕉综合热线|