<html>
<head>
<style>
#borderimg {
border: 10px solid transparent;
padding: 15px;
border-image-source: url(border.png);
border-image-slice: 30;
}
</style>
</head>
<body>
<h1>border-image-source 属性</h1>
<p>border-image-source 属性指定要用作元素周围边框的图像:</p>
<p id="borderimg">Hello World!</p>
<p>这是原始图像:</p>
<img src="border.png">
<p><strong>注意:</strong>Internet Explorer 10 及更早版本不支持 border-image-source 属性。</p>
</body>
</html>