First, the theory:
1.background-break
A.bounding-box background images are tiled across inline elements
B.each-box background images are tiled in rows
C.continuous the background image of the next line continues tiling the image in the previous row
The above is only available under Firefox
2.CSS Multi-background
A.background-image setting element background picture min, available relative address or absolute address index background image
B.background-repeat sets the tiling of the element background image by default repeat
C.background-size setting the dimension size of an element's background image default auto
D.background-attachment sets whether the background picture of an element is fixed by default scroll
E.background-clip control element Background image display Area size, default Border-box
F.background-color setting element background color
G. The middle of multiple attributes must be separated by ","
H. The first statement of the background image will be on the top, the last designated picture on the bottom
Second, Practice:
1.
<! DOCTYPE html>2.<! DOCTYPE html>
CSS Learning (ix)-CSS background