CSS Property:
border-image-slice:

Here is the image used:

Result:
Note: Internet Explorer 10, and earlier versions, do not support the border-image-slice property.
CSS Code:
#myDIV {
border: 15px solid transparent;
padding: 15px;
border-image: url(border.png);
border-image-slice: 10%;
border-image-repeat: round;
}
Click the property values above to see the result
W3Schools.com - Play it