Background image part 2
The background-image Property
Background-image can be set not only for the whole page, but for individual elements, as well.
Below we set a background image for the <p> element.
The HTML:<p>This paragraph has a background image.</p>
The CSS:
Result:
To specify more than one image, just separate the URLs with commas.
Comments
Post a Comment