Style borderImageSource Property
Style borderImageSource Property
The borderImageSource property is used to either set or return the image to be used. It is used instead of the border styles given by the border-style properties.
Syntax:-
Its syntax is:- object.style.borderImageSource OR object.style.borderImageSource = none|image|initial|inherit
Return:-
Its return is:- string having the border-image-source property of an element
Further Explanation:-
Value | Description |
---|---|
none | No image will be used |
image | The path to the image to be used as a border |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |