Specify how to repeat the image-border:
The borderImageRepeat property sets or returns whether the image-border should be repeated, rounded or stretched.
The borderImageRepeat property is not supported in Opera.
The borderImageRepeat property is not supported in Internet Explorer 10 and earlier.
The borderImageRepeat property is not supported in Safari 5 and earlier.
Look at the borderImage property instead!
Return the borderImageRepeat property:
Set the borderImageRepeat property:
Value | Description |
---|---|
stretch | Default value. The image is stretched to fill the area |
repeat | The image is tiled (repeated) to fill the area |
round | The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so it fits |
space | The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Default Value: | stretch |
---|---|
Return Value: | A String, representing the border-image-repeat property of an element |
CSS Version | CSS3 |
CSS reference: border-image-repeat property