当前第2页 返回上一页
CSS3 border-image-repeat属性的使用示例
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | <!DOCTYPE html>
< html >
< head >
< style >
div {
margin:50px;
border: 30px solid transparent;
border-image: url('http://ypimg.muzhuangnet.com/Collect/csharp/upload/article/000/000/024/5c62637b1a4fe853.png');
border-image-slice: 25;
}
.round{
border-image-repeat: round;
}
.repeat{
border-image-repeat: repeat;
}
.stretc{
border-image-repeat: stretc;
}
</ style >
</ head >
< body >
< div class = "round" >
DIV 使用图像边框--round
</ div >
< div class = "repeat" >
DIV 使用图像边框--repeat
</ div >
< div class = "stretc" >
DIV 使用图像边框--stretc
</ div >
</ body >
</ html >
|
效果图:

本文参考:https://www.html.cn/book/css/properties/border/border-image-repeat.htm
以上就是border-image-repeat属性怎么用的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
css3字体可以模糊吗
punctuation-trim属性怎么用
谷歌浏览器不支持css3吗
css3中怎么调节透明度
resize属性怎么用
css3什么时间推出的
什么是css3
text-emphasis属性有什么用
css3与css2的区别是什么
border-image-width属性怎么用
更多相关阅读请进入《border-image-repeat》频道 >>
人民邮电出版社
本书对 Vue.js 3 技术细节的分析非常可靠,对于需要深入理解 Vue.js 3 的用户会有很大的帮助。——尤雨溪,Vue.js作者
转载请注明出处:木庄网络博客 » border-image-repeat属性怎么用