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.
- Possible values: url().
- Example: background-image: url(“http://www.url.com/image.jpg”);
- 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