border-image

From Mozilla:

The border-image CSS property allows drawing an image on the borders of elements. This makes drawing complex looking widgets much simpler than it has been and removes the need for nine boxes in some cases. The is used instead of the border styles given by the border-style properties. Though the specification requires that border-style must be present if is used, some browsers may not implement this.