Programming Code Center(PCC)
[CSS]

(PCC)::[How-to-repeat-a-background-image-only-horizontally]::[css]

File Name : index.html

<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-image: url("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>

Output :

Hello World!

Here, a background image is repeated only horizontally!