May 06, 2021 CSS Reference Manual
The border-image-width property specifies the width of the image boundary.
Default: | 1 |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object .style.borderImageWidth="30 30" |
Note: The four values of border-image-width are specified to divide the border image area into nine parts. T hey represent the upper, right, bottom, left, and in-line distances on both sides. I f the fourth value is omitted, it is the same as the second. I f the third one is omitted, it is the same as the first one. I f the second one is omitted, it is the same as the first one. Negative values are not allowed.
Value | Description |
---|---|
number | Represents a multiple of the corresponding border-width |
% | The size of the boundary image area: the area of the width of the horizontal offset, the area of the height of the vertical offset |
auto | If specified, the width is the corresponding internal width or height of the image slice |
The numbers in the table support the first browser version number of the property.
Attributes |
|
|
|
|
|
---|---|---|---|---|---|
border-image-width | 15.0 | 11.0 | 13.0 | 6.0 | 15.0 |
Specify the width of the image boundary: