1. 程式人生 > >html5-css邊框img

html5-css邊框img

url order rep 邊框 lac solid html5 out black

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