CSS border-image-repeat property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
It specifies how the images are laid out i.e. whether the border images should be repeated or not and what should be the orientation of placement of border images?
Syntax
border-image-repeat : stretch | repeat | round | space
Property values
stretchDefault
-
The border image stretches itself to fill the border area.
- Try it
border-image-repeat: stretch; round
-
The border image is repeated untill it fills the border area. If it does not fit the border area a whole number of times, the image is rescaled so as to fit the border area.
- Try it
border-image-repeat: round;
Applicable to
It applies to all elements except the table with border-collapse:collapse;.