The border-image-outset property sets how far a border-image is drawn outside the element’s border box. Raising the value makes the frame look larger without changing the box’s layout width or height.
Parts painted outside the border box do not receive pointer events and do not create overflow scrollbars. Leave room with margin if neighbors sit close. Negative values are invalid and the declaration is ignored.
Baseline · Widely available.
Not deprecated and not experimental. Supported across modern browsers since July 2015. Needs a border image to show any effect.
Use one to four values, like margin: one for all sides; two for top/bottom then left/right; three for top, left/right, bottom; four for top, right, bottom, left.
Values
Property Values
Value
Description
Try it
<length>
Fixed outward distance, such as 12px or 1rem. Default is 0
Keep a border image. Width and gradient still set up the frame.
Read two values like margin.4px is top and bottom; 16px is left and right.
See the asymmetry. The sides stick out farther than the top and bottom.
Four values if needed. For full control, use top, right, bottom, left in that order.
Edge Cases & Pitfalls
If the frame does not move, or it clips oddly, check these first.
image
No border image, no visible outset
Outset only moves a border image. Set border-image (or source plus slice) before you expect to see anything.
size
Layout size does not grow
Outset is paint only. Neighboring text or buttons can look covered. Add margin equal to the outset when you need clear space.
events
Outside paint ignores clicks and overflow
The part outside the border box does not capture pointer events and does not create scrollbars. Do not rely on it as a hit target.
clip
Parents with overflow can clip it
overflow: hidden on an ancestor can cut off the outward frame even though outset itself does not trigger overflow.
reset
border resets the image
The border shorthand sets border-image back to none. Declare the image (and outset) after border.
Compatibility
Browser Support
border-image-outset is a browser CSS property for decorative borders. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
border-image-outset
Chrome 15+, Firefox 15+, Safari 6+, Edge 12+, Internet Explorer 11+. Available across browsers since July 2015.
97%Global support
Google Chrome15+
Full support
Mozilla Firefox15+
Full support
Apple Safari6+
Full support
Microsoft Edge12+
Full support
Opera15+
Full support
Samsung Internet1.0+
Full support
Internet Explorer11
Full support
border-image-outsetWidely supported
Bottom line: Safe for production decorative frames. Pair it with a border image and enough margin. It is not a runtime API.
Remember
Key Takeaways
Role: draw the border image outside the border box without changing layout size.
Values: lengths for fixed distance; numbers as a multiple of border-width.
Needs an image: without border-image, outset has nothing to move.
Initial value:0. Not inherited. Negative values are invalid.
One line:border-image-outset paints the frame farther out — after you have a border image, and usually after you add margin for clearance.
Frequently Asked Questions
It sets how far the border image is drawn outside the element’s border box. The layout size of the element does not grow.
The initial value is 0, so the border image stays on the border box until you set a positive outset.
You need a border image first (border-image or border-image-source plus slice). Without a source and a non-zero border width, outset has nothing to paint.
A length such as 12px is a fixed outward distance. A unitless number multiplies the border-width on that side — for example, 1.5 with an 8px border means 12px of outset.
No. The part drawn outside the border box does not receive pointer events and does not create overflow scrollbars. Nearby content can still look overlapped, so add margin if you need clear space.
It is Baseline Widely available: Chrome 15+, Firefox 15+, Safari 6+, Edge 12+, and Internet Explorer 11. It is a browser CSS property, not a Node.js feature.