Ngôn ngữ CSS - Ảnh nền lặp lại theo chiều ngang

Ảnh nền lặp lại theo chiều ngang

<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-image: url("images/gradient_bg.png");
  background-repeat: repeat-x;
}
</style>
</head>
<body>

<h1>Hello World!</h1>
<p>Here, a background image is repeated only horizontally!</p>

</body>
</html>

Xem ví dụ