码迷,mamicode.com
首页 > Web开发 > 详细

html5-css边框img

时间:2017-10-08 12:11:42      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:-o   边框   html5   slice   url   back   str   black   div   

div{
    width: 500px;
    height: 300px;
    background: rgb(122,30,60);
    border:15px solid black;
    /*border-image-source: url(../pic/bg4.jpg);
    border-image-slice: 30;
    border-image-slice: 30 fill;
    border-image-width: 5px;*/
    /*border-right-width: 30px 50px;
    border-image-outset:10px ;*/
    /*border-image-repeat:repeat; */
    /*border-image-repeat: stretch round;
    border-image-repeat:round stretch;*/
    /*border-image-repeat: round;*/
    border-image: url(../pic/bg4.jpg) 30  /5px /5px  repeat;
    }

html5-css边框img

标签:-o   边框   html5   slice   url   back   str   black   div   

原文地址:http://www.cnblogs.com/houweidong/p/7636876.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!