Source Code:
repeat-x will repeat a background image only horizontally.
Result:
W3Schools.com
- Try it yourself