codescracker


css

CSS Background Quantity



« Previous Tutorial Next Tutorial »


The background-quantity Property

The background-quantity property is used to specify the number of times to repeat an image. It takes following values:

CSS infinite Keyword

Repeats an image infinitely. The following code fragment shows the use of the infinite keyword :

background-quantity: infinite;

CSS Integer Parameter

Repeats an image the specified number of times. The following code fragment shows the use of the integer parameter :

background-quantity: 5;

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.


« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test