Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Use border images to create borders with style.
Last updated on : 2023-03-20
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
Inherited
no
Applies to
all elements, except internal table elements when border-collapse is collapse. It also applies to ::first-letter.
Percentages
border-image-slice: refer to the size of the border image border-image-width: refer to the width or height of the border image area
Initial value
border-image-source: none border-image-slice: 100% border-image-width: 1 border-image-outset: 0 border-image-repeat: stretch
Animation type
discrete
Computed value
border-image-outset: as specified, but with relative lengths converted into absolute lengths border-image-repeat: as specified border-image-slice: one to four percentage(s) (as specified) or absolute length(s), plus the keyword fill if specified border-image-source: none or the image with its URI made absolute border-image-width: as specified, but with relative lengths converted into absolute lengths
CSS Backgrounds and Borders Module Level 4 # the-border-image
/* source | slice */
border-image: linear-gradient(red, blue) 27;
/* source | slice | repeat */
border-image: url("/images/border.png") 27 space;
/* source | slice | width */
border-image: linear-gradient(red, blue) 27 / 35px;
/* source | slice | width | outset | repeat */
border-image: url("/images/border.png") 27 23 / 50px 30px / 1rem round space;
/* Global values */
border-image: inherit;
border-image: initial;
border-image: revert;
border-image: unset;
CSS3 Border images on IE is fully supported on 11-11, and not supported on 5.5-10 IE versions.
CSS3 Border images on Edge is fully supported on all Edge versions.
CSS3 Border images on Firefox is fully supported on 50-113, partially supported on 3.6-49, and not supported on 2-3 Firefox versions.
CSS3 Border images on Chrome is fully supported on 56-114 and partially supported on 4-55 Chrome versions.
CSS3 Border images on Safari is fully supported on 9.1-16.4 and partially supported on 3.2-9 Safari versions.
CSS3 Border images on Opera is fully supported on 43-95, partially supported on 10.5-42, and not supported on 9.5-10 Opera versions.
CSS3 Border images on Safari on iOS is fully supported on 9.3-16.4 and partially supported on 3.2-9 Safari on iOS versions.
CSS3 Border images on Android Browser is fully supported on 97-111 and partially supported on 2.1-4 Android Browser versions.
CSS3 Border images on Opera Mobile is fully supported on 64-73, partially supported on 11.5-12, and not supported on 10-10 Opera Mobile versions.
CSS3 Border images on Chrome for Android is fully supported on all Chrome for Android versions.
CSS3 Border images on Firefox for Android is fully supported on all Firefox for Android versions.
CSS3 Border images on Samsung Internet is fully supported on 7.2-20 and partially supported on 4-6.2 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:CSS3 Border images shows a browser compatibility score of 97. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for CSS3 Border images & more
Test your website for CSS3 Border images and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?