border-image-outset
Controls how far outside the element's actual box the border image is drawn. It's useful for making a decorative border appear as if it's 'floating' around its container.
Quick example
.fancy-container {
border: 10px solid transparent;
border-image-source: url('frame.png');
border-image-slice: 30;
/* Extends the image 5px beyond the box */
border-image-outset: 5px;
} Quick facts
Initial value
0Inherited
No
Applies to
all elements (except table elements when collapse)
Animation type
byComputedValueType
Values
lengthnumber border-image-outset Browser Support
Widely available Since 2017 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.
Safe to use without fallbacks.
15+
15+
6+
12+