<title>W3Cschool教程(w3cschool.cn)</title>
-moz-border-image:url("/statics/images/border.png") 30 30 round;
-webkit-border-image:url("/statics/images/border.png") 30 30 round;
-o-border-image:url("/statics/images/border.png") 30 30 round;
border-image:url("/statics/images/border.png") 30 30 round;
-moz-border-image:url("/statics/images/border.png") 30 30 stretch;
-webkit-border-image:url("/statics/images/border.png") 30 30 stretch;
-o-border-image:url("/statics/images/border.png") 30 30 stretch;
border-image:url("/statics/images/border.png") 30 30 stretch;
<p><b>注意:</b> Internet Explorer 不支持 border-image 属性。</p>
<p>border-image 属性用于指定一个边框的图像。</p>
<div id="round">在这里,图像平铺(重复),以填补该地区。</div>
<div id="stretch">在这里,图像被拉伸以填补该地区。</div>
<img src="https://7n.w3cschool.cn/attachments/knowledge/201611/31824.png" />