The background-quantity property is used to specify the number of times to repeat an image. It takes following values:
Repeats an image infinitely. The following code fragment shows the use of the infinite keyword :
Repeats an image the specified number of times. The following code fragment shows the use of the integer parameter :
Note - The quantity of a background image cannot be defined in negative values, but a zero size image is allowed; however, it will not be displayed.