CSS - CSS Background



Background CSS - Definition and Usage

  • In css background is used to define a background effect for the content or element.
  • Background property has different ways to apply.
  • Background property allows us to control the background of any element.
CSS background
  • In this chapter, we will teach how to set backgrounds of various HTML elements.
  • The CSS background properties are used to define the background outcome for html elements.

Background Properties :

The CSS background Properties are :

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

Background Color :

  • It is used to set the background color of an element like <p>,<h1>,<h2>.

Background Image :

  • It is used to set the background image for the body.

Background-Repeat :

  • In CSS, Background-repeat property is used to control the repetition of an image in the background.
  • Background-Attachment :

  • Background attachment property will fix the image in the page even if you scroll down image will be visible.
  • Background-Position :

  • &It is used to control the position of an image in the background.
  • This page provides a detailed information on css stylesheet , css editor , css generator , css form , css3 tutorial , tutorial css , php css , css tools , html and css , css tags , css basics , css properties , css software , css layout , code css , css tutorial pdf , css version , online css editor , css online , css examples , compress css.


    View More Quick Examples

    CSS BASICS & SELECTORS CSS SELECTOR ATTRIBUTE CSS STYLE FORMS COLORS & BACKGROUND CSS MARGIN & PADDING CSS WIDTH & HEIGHT CSS LINKS CSS BLOCKS

    Related Searches to CSS - Background