Easy Tutorial
❮ Prop Node Nodename Dom Obj Progress ❯

Style borderImageWidth Property

Style Object

Example

Specifies the width of the image border:


Definition and Usage

The borderImageWidth property specifies the width of the image border.


Browser Support

Opera does not support the borderImageWidth property.

Internet Explorer 10 and earlier versions do not support the borderImageWidth property.

Safari 5 and earlier versions do not support the borderImageWidth property.

Please see the borderImage property as an alternative!


Syntax

Return the borderImageWidth property:

Set the borderImageWidth property:

Property Values

Value Description
length A length unit (px) specifying the size of the border width.
number The default value is 1. Represents a multiple of the corresponding border width.
% A percentage relative to the border image area size: horizontal offset relative to the width of the area, vertical offset relative to the height of the area.
auto If specified, the width is the intrinsic width or height of the corresponding image slice.
initial Sets this property to its default value. See initial
inherit Inherits this property from its parent element. See inherit

Technical Details

Default Value: 1
Return Value: String, representing the border-image-width property of the element.
--- ---
CSS Version CSS3
--- ---

Related Articles

CSS Reference: border-image-width Property


Style Object

❮ Prop Node Nodename Dom Obj Progress ❯