The property border-image-source is used to set the image to be used instead of the border style. If this is set to none the border-style is used instead.
Overview tablenone
border-collapse: collapse
is applied
borderImageSource
border-image-source: none
border-image-source: url(path/to/image.png)
border-style
is used instead.
A simple example showing a <div> that has border-image-source property and other border-image properties.
<div class="pattern">border-image</div>
div {
height: 100px;
width: 100px;
margin: 25px;
text-align: center;
line-height: 100px;
font-family: sans-serif;
}
.pattern {
border-image-source: url(/docs/w/images/d/d8/border-image.png);
border-image-slice: 30;
border-image-width: 6;
border-image-outset: 3;
}
Related specifications
border-image-source
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4