html5-css边框img
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和css3的笔记
- 下一篇 »css做鼠标指向图片图片放大但边框不放大