What is the CSS border-image-width property?
The border-image-width property in
It is a shorthand property of the following:
-
border-image-source -
border-image-slice -
border-image-width -
border-image-outset -
border-image-repeat
Syntax
border-image-width: number|percentage|auto|initial|inherit;
Property values
-
number: Its default value is one. It is used to specify the width of theborder-image. -
length: used to define the thickness of theborder-image. Its unit is “px”. -
percentage: used to define the value which sets the thickness of the border for left, right, top, and bottom offsets. -
auto: used to set the border of the image which is specified in the border-image-slice property. -
initial: used to set the value to its default value. -
inherit: used to inherit property from its parent value.