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

主站蜘蛛池模板: 综合自拍亚洲综合图不卡区| 亚洲国产美国国产综合一区二区| 亚洲乱码中文字幕综合| 亚洲国产成人久久综合一区77| 激情五月综合综合久久69| 国产欧美日韩综合一区在线播放| 久久综合九色综合欧美就去吻| 国产成人综合在线观看网站| 国产天天综合永久精品日| 亚洲综合精品网站在线观看| 色狠狠久久综合网| 狠狠色狠狠色综合系列| 亚洲精品国产第一综合99久久| 久久狠狠一本精品综合网| 婷婷色香五月激情综合2020| 亚洲欧美日韩综合在线播放| 久久93精品国产91久久综合| 亚洲VA欧美va国产va综合| 亚洲综合精品网站在线观看| 99久久综合国产精品免费| 亚洲国产成人久久综合碰| 激情97综合亚洲色婷婷五| 亚洲成A人V欧美综合天堂麻豆| 国产91色综合久久免费分享| 中文网丁香综合网| 亚洲 综合 欧美在线视频| 亚洲 综合 国产 欧洲 丝袜| 伊人久久综合精品无码AV专区| 狠狠色狠狠色综合曰曰| 激情综合婷婷丁香五月蜜桃| 综合国产精品第一页| 婷婷综合缴情亚洲狠狠图片| 伊人久久综合成人网| 亚洲欧美日韩综合一区二区| 亚洲中文字幕无码久久综合网| 国产精品天天影视久久综合网| 亚洲国产天堂久久综合网站| 亚洲欧美成人综合久久久| 亚洲欧美精品综合中文字幕| 一本一道久久a久久精品综合| 亚洲综合一区二区精品导航|