Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color:#E7E9EB;
}
#myDIV {
  height:300px;
  background-color:#FFFFFF;
  border: 15px solid transparent;
  padding: 15px;
  border-image-source:url('border.png');  
  border-image-repeat: round;
  border-image-slice: 10;
  }
</style>
</head>
<body>
<h1>The border-image-slice Property</h1>
<div id="myDIV">
<p>A demonstration on how to set the border image.</p>
<p>We used this image:<br>
<img src="border.png">
</p>
</div>
</body>
</html>