/

HTML / CSS / JavaScript Tutorial

CSS Property: border-image-width

[this page | pdf | back links]

The CSS (CSS3) border-image-width property specifies the width of a border image.

 

The property takes up to four values. If the fourth is omitted then it is given the same value as the second. If the third is omitted then it is given the same value as the first. If the second is also omitted then it is given the same value as the first.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

length

CSS length specifying size of border-width

number

(default value). Multiples of corresponding border-width

%

Relative to size of border image area

auto

Intrinsic width or height of the corresponding image slice

 

Default Value:

1

JavaScript syntax:

e.g. object.style.borderImageWidth="50px"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile