border-image-slice
The CSS border-image-slice
tells the browser where to “slice” an image being used to create the pieces of an element’s borders.
.element {
border-style: ridge;
border-width: 3rem;
border-image-source: url('path/to/image.jpg');
border-image-slice: 30%;
border-image-repeat: repeat;
}
The border-image-slice
property is defined in …