Loading
Hosting Unlimited Indonesia

Colours and Background

Colours and Background
  • colour: Specifies the foreground (text and border) colour
    • Possible values: [color]. 
    • Example: color: #000000; 
  • background: Combines the following properties into just one. I only use it to make the background transparent. 
    • Possible values: transparent. 
    • Example: background: transparent; 
  • background-image: Adds and image, though url, and sets it as background to the div. 
  • background-repeat: Specifies how to repeat the background image within its containing element. 
    • Possible values: no-repeat, repeat-x (repeat horizontally), repeat-y (repeat vertically) and repeat-xy (repeat horizontally and vertically). 
    • Example: background-repeat: repeat-x; 
  • background‐position: Specifies the position of a background image within its containing element. Made up of two values. 
    • Possible values: Top, center, bottom & left, center, right. 
    • Example: background‐position: top center; 

0 Comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes