CSS Property:

Here is the image used:

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