CSS border-image-slice Property Reference

The CSS border-image-slice property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

CSS border-image-slice Property Reference

The CSS border-image-slice property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

border-image-slice overview

The CSS border-image-slice property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

border-image-slice formal syntax
FieldValue
Formal syntax[ <number [0,∞]> | <percentage [0,∞]> ]{1,4} && fill?
Initial value100%
Applies toallElementsExceptTableElementsWhenCollapse
InheritedNo
PercentagesreferToSizeOfBorderImage
Computed valueoneToFourPercentagesOrAbsoluteLengthsPlusFill
Animation typebyComputedValueType
Mediavisual
Specification groupCSS Backgrounds and Borders
StatusStandard

Practical examples

These declarations demonstrate valid ways to set border-image-slice. The initial and inherit global keywords remain available even when a property-specific value is preferable.

border-image-slice live example
CSS .reset-example { border-image-slice: initial; } .inherit-example { border-image-slice: inherit; } @supports (border-image-slice: initial) { .supported { border-image-slice: initial; } }

Description

The CSS border-image-slice property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: border-image-slice
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies