CSS border-image-slice Property


The border-image-slice CSS property divides or slices an image specified by the border-image-source property.

Syntax

Example

Preview

Property Values

Value Description
number The number(s) represent pixels in raster images or vector image coordinates.
% The percentages are in relation to the image's height or width.
fill This causes the image's middle section to be displayed.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
border-image-slice 15.0 15.0 6.0 11.0 15.0