How to Set horizontal and vertical repetition of the background image in CSS?
How to Set horizontal and vertical repetition of the background image in CSS:
It is very easy to set the horizontal or vertical Tile of the background image. You can use the code at both ends. The Code is as follows:
Background: url ("photo.gif") repeat-y;
The above Code enables the background image to be tiled vertically.
Background: url ("photo.gif") repeat-x;
The above Code enables the background image to be tiled horizontally.
For more information, see the following two articles:
1. For details about the background-repeat attribute, refer to the background-repeat attribute section of CSS.
2. For details about the background attributes, see the background attributes section of CSS.
Original address: 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.