Definition
The border-image
CSS property lets you draw an image as the border around an element. It’s a shorthand property for setting border-image-source
, border-image-slice
, border-image-width
, border-image-outset
, and border-image-repeat
. For instance, to use an image as a border, you could use: border-image: url(border.png) 30 round;
, where border.png
is your image source, 30
is the slice, and round
is the repeat method.