Pages

Wednesday, June 11, 2014

The css Background image define


The background-image CSS property specifies a picture to use because the background of a component.
By default, the image is continual therefore it covers the whole part.
The CSS background image for a page will be set like this:

Example

body {
    background-image: url("paper.gif");
}
Below is Associate in Nursing CSS example of a nasty combination of text and background image. The text is sort of not readable:

Example

body {
    background-image: url("bgdesert.jpg");
}

No comments:

Post a Comment