CSS: Set border to half width

前端 未结 7 885
说谎
说谎 2021-02-12 21:57

Consider following:

...
.box{ width:500px; border-bottom: 1px solid #ccc; }

It will set the bot

相关标签:
7条回答
  • 2021-02-12 22:47

    You could use a background-image:

    .box{
        width:500px;
        border-bottom: 1px solid #ccc;
        background-image:(yourimage.png); /*make your image a solid line 1px tall by 250px wide (or so)*/
        background-position: bottom left;
        background-repeat:no-repeat;
    }
    
    0 讨论(0)
提交回复
热议问题