border-image
Read More at MDN DocsView SpecSafe to Use
border-image
is considered safe to use.
It’s supported by 94% of global browsers.
Browsers
Version Breakdown
Full Support
Before Chrome 112, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-
Full Support
Before Chrome 112, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-
Full Support
Before Edge 112, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-
Full Support
Small SVGs are incorrectly stretched, because percentages in border-image-slice
are computed to integers instead of floats (bug 1284797).
Until Firefox 47, SVGs without viewport were not sliced correctly (bug 619500).
From Firefox 48 until Firefox 49, SVGs without viewport are displayed the same as SVGs with viewport, but if the slices are not exactly 50%, they are incorrectly stretched (bug 1264809).
Until Firefox 57, an issue persisted for SVGs without viewport when e10s was disabled (bug 1290782).
Implemented with the vendor prefix: -moz-
Before Firefox 15, an earlier version of the specification was implemented, prefixed.
Full Support
Small SVGs are incorrectly stretched, because percentages in border-image-slice
are computed to integers instead of floats (bug 1284797).
Until Firefox 47, SVGs without viewport were not sliced correctly (bug 619500).
From Firefox 48 until Firefox 49, SVGs without viewport are displayed the same as SVGs with viewport, but if the slices are not exactly 50%, they are incorrectly stretched (bug 1264809).
Until Firefox 57, an issue persisted for SVGs without viewport when e10s was disabled (bug 1290782).
Implemented with the vendor prefix: -moz-
Before Firefox 15, an earlier version of the specification was implemented, prefixed.
Full Support
Full Support
Before Chrome 112, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-
Full Support
Before Opera 98, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -o-
Full Support
A border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -o-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Implemented with the vendor prefix: -webkit-
Full Support
Before Samsung Internet false, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-
Full Support
Before WebView 112, a border image's absolute or percentage length width may not take precedence over a narrower border-width
(bug 767352).
Implemented with the vendor prefix: -webkit-