ExampleSpecify the widths of the image-border:
|
The border-image-width property is not supported in any of the major browsers.
Look at the border-image property instead!
The border-image-width property specifies the widths of the image-border.
Default value: | 1 |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.borderImageWidth="30 30" |
border-image-width: number|%|auto; |
Note: The four values of border-image-width specify offsets that are used to divide the border image area into nine parts. They represent the inward distances from the the top, right, bottom, and left sides of the area. If the fourth value is omitted, it is the same as the second. If the third one is also omitted, it is the same as the first. If the second one is also omitted, it is the same as the first. Negative values are not allowed for any border-image-width values.
Value | Description |
---|---|
number | Represents multiples of the corresponding border-width |
% | Refers to the size of the border image area: the width of the area for horizontal offsets, the height for vertical offsets |
auto | If specified, the width is the intrinsic width or height of the corresponding image slice |