The border-image property specifies an image to be used as the border around an element:
Here, the middle sections of the image are repeated to create the border.
Here, the middle sections of the image are stretched to create the border.
Here is the original image:
Note: Internet Explorer 10, and earlier versions, do not support the border-image property.