The border-image property specifies an image to be used as the border around an element:
Here, the image tiles to fill the area. The image is rescaled if necessary, to avoid dividing tiles.
Here, the image is stretched to fill the area.
Here is the original image:
Note: Internet Explorer 10, and earlier versions, do not support the border-image property.