Have a look at border-image as well.