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

    Adblocker detected! Please consider reading this notice.

    We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

    We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

    We need money to operate the site, and almost all of it comes from our online advertising.

    Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

    ×