好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

利用css的border-image实现锯齿形

css如何实现这样的样式:

<section class="ele-card">
    <p class="ele-card-borderImage"></p></section> 
.ele-card{
    height: 130px;
    width: 70%;
    position: absolute;
    z-index: 99;
    top: 26%;
    left: 50%;
    margin-left: -35%;
    background: #fee94e;
}.ele-card-borderImage{
    border-top: 15px solid transparent;
    border-image: url(img/order_border-min.png) 111 44 round;
    width: 100%;
    position: relative;
    top: -4px;
} 

以上就是利用css的 border-image 实现锯齿形的详细内容,更多请关注Gxl网其它相关文章!

查看更多关于利用css的border-image实现锯齿形的详细内容...

  阅读:53次