border:15px solid transparent;
-webkit-border-image:url(border.png) 30 30 round;
-o-border-image:url(border.png) 30 30 round;
border-image:url(border.png) 30 30 round;
-webkit-border-image:url(border.png) 30 30 stretch;
-o-border-image:url(border.png) 30 30 stretch;
border-image:url(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="/upload/love/css.gif" />