Menu
Samaritan's Purse

BORDER-IMAGE-WIDTH

The border-image-width property specifies offsets that are used to divide the border image area into nine parts.

SYNTAX

CSS

border-image-width: value;

JS

object.style.borderImageWidth = "value";

VALUES

<'border-image-width'> = [ <length-percentage [0,∞]> | <number [0,∞]> | auto ]{1,4}
<length-percentage> = [ <length> | <percentage> ]
<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

auto

Automatically specified by the user agent.

INITIAL

1

EXAMPLES

AUTO

LENGTH

NUMBER

PERCENTAGE

JS

INTERNAL

border-image

border-image-outset

border-image-repeat

border-image-slice

border-image-source

EXTERNAL

World Wide Web Consortium (W3C)