CSS Property:
border-image-outset:

Here is the image used:

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