Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS3 border-image-outset property

CSS3 border-image-outset property

Example

Set the border-img-outset property:

div

{

border-image-source:

url

(

border

.

png

)

;

border-image-outset:

30

30

;

}


Browser support

The numbers in the table indicate the first browser version that supports this property.

property
border-image-outset 15.0 11.0 15.0 6.0 15.0

Property definition and usage

border-image-outset is used to specify the amount by which the border-image-area is drawn outside the border

Default value: 0
Inherited: no
Version: CSS3
JavaScript syntax: object.style.borderImageOutset="30 30"

Syntax

border-image-outset:

length

|

number

;

Note: border-image-outset is used to specify the amount by which the border-image-area is drawn outside the border, including the top, bottom, left, and right portions. If the fourth value is omitted, it is the same as the second. If the third is also omitted, it is the same as the first. If the second is also omitted, it is the same as the first. Negative values are not allowed for border-im-outset.

Value Description Example
length  Sets the distance between the border image and the border (border-image); the default is 0. Try it »
number Represents a multiple of the corresponding border-width Try it »