HTML and CSS Reference
In-Depth Information
Figure 6-20. Two separate images layered together in a background
Reversing the order of the images in the backgroud-image property will change
their layering. The first image specified will appear on top. The other background prop-
erties can be supplied with comma-separated values to set the properties on each image
individually; for instance, to only repeat the star image in Figure 6-20 , the following
could be added:
background-repeat: no-repeat , repeat;
These values could be set via JavaScript too, which could lead to some pretty inter-
esting dynamic effects!
Search WWH ::

Custom Search