CSS3 border-image-outsetProperty


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 the property.

Property
border-image-outset 15.0 11.0 15.0 6.0 15.0

Property definitions and usage instructions

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. It includes the top/bottom and left/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-image-outset.

Value Description Example
length Sets the distance between the border image and the border (border-image), defaults to 0. Try it Yourself »
number Represents a multiple of the corresponding border-width.Try it Yourself »
other extensions