Specifies an image to use instead of the border styles given by the ‘border-style’ properties and an additional background image for the element.
h1 {
border-image: url("border.png") 25;
border: solid 25px #f00;
}
p {
border-image: url("border.png") 5 10 5 10 repeat;
border: solid 10px #f00;
}