ExampleSpecify how to repeat the image-border:
|
The border-image-repeat property is not supported in any of the major browsers.
Look at the border-image property instead!
The border-image-repeat property specifies whether the image-border should be repeated, rounded or stretched.
Default value: | stretch |
---|---|
Inherited: | no |
Version: | CSS3 |
JavaScript syntax: | object.style.borderImageRepeat="round" |
border-image-repeat: stretch|repeat|round; |
Note: This property specifies how the images for the sides and the middle part of the border image are scaled and tiled. So, you can specify two values here. If the second value is omitted, it is assumed to be the same as the first.
Value | Description |
---|---|
stretch | 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 |