Background is a very important CSS property
There are 9 different attributes, 1 background, and the other 8 are branches:
1. Background:
This is the ellipsis, you can write all the other 8 properties in one;
2. Background-color; Color
3. Background-image; Background map
URL (address)
4.background-position; Background map position
There are three types of units in the location:
(px,%, words)
5.background-repeat Background Tiling Shop
Repeat Fully tiled
No-repeat; Uneven Shop
Repeat-x: X-axis tiling
Repeat-y: Y-axis tiling
6.background-attachment Background Map fixed
Only 2 options are available:
Fixed always in one position;
Scroll position in the entire document, similar to absolute
The other 3 are the new attributes of CSS3.
Clip (Draw area), origin (area of the background map), size (background map size) has 4 values:
Cover single graph fills, contain maximized,%,px ")
{CSS} "background"