Background repeat part 1
The background-repeat Property
The background repeat property specifies how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all.
The repeat-x will repeat a background image only horizontally.
The CSS:
Result:
The repeat-y will repeat a background-image only vertically.
The CSS:
Result:
If you want the image to be shown only once, use the no-repeat value.
Comments
Post a Comment