How CSS sets the background image to repeat horizontally and vertically:
Setting the horizontal tile of the background picture or vertical tiling is very simple, using both ends of the code, the code is as follows:
Background:url ("Photo.gif") repeat-y;
The above code allows the background image to be tiled vertically.
Background:url ("Photo.gif") repeat-x;
The above code allows the background image to be tiled horizontally.
Very simple, you can refer to the following two articles:
The 1.background-repeat property can be found in the Background-repeat Properties section of CSS.
The 2.background property can be found in the Background Properties section of CSS.
The original address is: http://www.51texiao.cn/div_cssjiaocheng/2015/0606/3426.html
The most original address is: http://www.softwhy.com/forum.php?mod=viewthread&tid=9657
How CSS sets the background image to repeat horizontally and vertically