Style borderImageRepeat Property
Style borderImageRepeat Property
The borderImageRepeat property is used to either set or return whether the image border should be rounded, repeated, or stretched.
Syntax:-
Its syntax is:- object.style.borderImageRepeat OR object.style.borderImageRepeat = stretch|repeat|round|initial|inherit
Return:-
Its return is:- string having border-image-repeat property of an element
Further Explanation:-
Value | Description |
---|---|
stretch | The image is stretched to fill the area. |
repeat | The image is tiled i.e, repeated to fill the area. |
round | The image is tiled i.e, repeated to fill the area. The image is rescaled so it fits. |
space | The image is tiled i.e, repeated to fill the area. Extra space is distributed around the tiles if does not fill the area. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |