Pulsanti abilitati per richiedere informazioni o prenotare B&B Sassari

CSS Backgrounds

Pulsanti abilitati per richiedere informazioni o prenotare B&B Sassari

The CSS background properties are used to define the background effects
for elements.

Pulsanti abilitati per richiedere informazioni o prenotare B&B Sassari

CSS background properties:

  • background-color
  • background-image
  • background-repeat
  • background-attachment
  • background-position

CSS background-color

The background-color property specifies the background color of an element.

Example

The background color of a page is set like this:

Pulsanti abilitati per richiedere informazioni o prenotare B&B Sassari

body {
  background-color: lightblue;
}

Try it Yourself »

With CSS, a color is most often specified by:

  • a valid color name – like “red”
  • a HEX value – like “#ff0000”
  • an RGB value – like “rgb(255,0,0)”

Look at CSS Color Values for a complete
list of possible color values.

Example

Here, the

,

, and

Read the rest

Powered by WPeMatico

Pulsanti abilitati per richiedere informazioni o prenotare B&B Sassari