PROMO: Online casino feature some amazing graphics, learn more about these at yours4money.com

CSS BACKGROUND-IMAGE

Filed Under: CSS Playground, with 581 views.

The background-image property sets an image as the background.
Tip: Always set a background-color to be used if the image is unavailable.
Inherited: No

Example

body {
background-image: url(stars.gif);
background-color: #000000
}

Possible Values

Value Description
url The path to an image
none No background image

Comments:

Leave a Reply