O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

border-image-outset

Values:

[ <length> | <number> ]{1,4}

Initial value:

0

Applies to:

All elements except table elements where border-collapse is collapse

Inherited:

No

Computed value:

Same as declared value (but see description)

Description:

Defines the distance by which a border image may exceed the border area of the element. The values define distances from the top, right, bottom, and left edges of the border image, in that order. Numbers are calculated with respect to the image’s intrinsic coordinate system; thus, for a raster image, the number 7 is taken to mean seven pixels. Images in formats such as SVG may have different coordinate systems. Negative values are not permitted.

Examples:

aside {border-image-outset: 2;}
div#pow {border-image-outset: 10 17 13 5;}

Note:

As of early 2011, browsers did not support border-image-outset. It is included because border-image (which encompasses border-image-outset) was supported and browsers were expected to add border-image-outset support by the end of 2011.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required