Style borderImageSlice Property
Style borderImageSlice Property
The borderImageSlice property is used to specify the inward offsets of the image border.
Syntax:-
Its syntax is:- object.style.borderImageSlice OR object.style.borderImageSlice = number|%|fill|initial|inherit
Return:-
Its return is:- string having border-image-slice property of an element
Further Explanation:-
Value | Description |
---|---|
number | Numbers represent pixels in the image or vector coordinates. |
% | Percentages are relative to the size of the image. |
fill | Causes the middle part of the border image to be preserved |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |