CSS · Properties — CSS Backgrounds and Borders

border-image-slice

The CSS border-image-slice property. Initial value: 100%. Not inherited.

Syntax
border-image-slice: [ <number [0,∞]> | <percentage [0,∞]> ]{1,4} && fill?

Example

Try it

Notes

Media: visual. Applies to: allElementsExceptTableElementsWhenCollapse. Computed value: oneToFourPercentagesOrAbsoluteLengthsPlusFill.

More in this group

background background-attachment background-origin background-position-x background-position-y border-bottom border-bottom-color border-bottom-left-radius

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course