Learn CSS #7

CSS Background Image


CSS background-image

The background-image property specifies an image to use as the background of an element.

By default, the image is repeated so it covers the entire element.

Example

Set the background image for a page:

body {
  background-image: url("paper.gif");
}

Example

This example shows a bad combination of text and background image. The text is hardly readable:

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

Note: When using a background image, use an image that does not disturb the text.

The background image can also be set for specific elements, like the <p> element:

Example

{
  background-image: url("paper.gif");
}

Categories

232 Responses

  1. Hello bro!More info…
    пансионат для лежачих больных
    https://pansionat-rnd.ru/
    “Дом престарелых” – это общепринятое название для социального учреждения, которое оказывает услуги по социальной защите и помощи престарелым людям. Если вы ищете информацию о конкретном доме престарелых в Ростове-на-Дону, можете уточнить местоположение и другую информацию.
    сеть пансионатов

    http://cse.google.it/url?q=https://pansionat-rnd.ru/ http://maps.google.se/url?q=https://pansionat-rnd.ru/ http://maps.google.tk/url?q=https://pansionat-rnd.ru/ http://images.google.gp/url?q=https://pansionat-rnd.ru/ http://www.google.by/url?q=https://pansionat-rnd.ru/

  2. Get information now. Learn about the side effects, dosages, and interactions.
    stromectol price
    Definitive journal of drugs and therapeutics. Drugs information sheet.

  3. What side effects can this medication cause? What side effects can this medication cause?
    https://clomiphenes.com clomid cheap
    Some are medicines that help people when doctors prescribe. Best and news about drug.

  4. Learn about the side effects, dosages, and interactions. safe and effective drugs are available.
    https://edonlinefast.com ed treatments
    Comprehensive side effect and adverse reaction information. Everything information about medication.

  5. Everything about medicine. Comprehensive side effect and adverse reaction information.
    thecanadianpharmacy
    Everything information about medication. Learn about the side effects, dosages, and interactions.

  6. Some are medicines that help people when doctors prescribe. Definitive journal of drugs and therapeutics.
    canadian drug pharmacy
    Prescription Drug Information, Interactions & Side. Commonly Used Drugs Charts.

Leave a Reply

Your email address will not be published. Required fields are marked *