龍巖易富通網(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)論

主站蜘蛛池模板: 狠狠做五月深爱婷婷天天综合| 99久久综合国产精品免费| 综合无码一区二区三区| 狠狠色色综合网站| 久久综合88熟人妻| 色综合久久久久综合体桃花网| 亚洲第一综合色| 中文网丁香综合网| 一本色道久久99一综合| 欧美久久综合性欧美| 一本久久综合亚洲鲁鲁五月天| 五月婷婷激情综合| 国产亚洲欧洲Aⅴ综合一区| 亚洲欧美日韩综合二区三区| 亚洲欧美日韩综合在线观看不卡顿| 婷婷丁香五月天综合东京热| 美国十次狠狠色综合| 欧美在线观看综合国产| 少妇人妻综合久久中文字幕| 色综合合久久天天综合绕视看| 伊人情人综合成人久久网小说| 夜鲁鲁鲁夜夜综合视频欧美| 国产色综合天天综合网 | 色欲综合久久躁天天躁蜜桃| 人人狠狠综合久久88成人| 激情综合婷婷色五月蜜桃| 香蕉99久久国产综合精品宅男自| 欧美综合图区亚洲综合图区| 婷婷综合缴情亚洲狠狠图片| 亚洲伊人久久大香线蕉综合图片| 天天做天天爱天天爽综合网| 久久精品综合网| 亚洲精品综合久久| 亚洲狠狠婷婷综合久久久久| 天天久久狠狠色综合| 炫硕日本一区二区三区综合区在线中文字幕| 一本久久a久久精品综合夜夜| 伊人丁香狠狠色综合久久| 一本色道久久88—综合亚洲精品| 色综合综合色综合色综合| 亚洲综合偷自成人网第页色|