The background-repeat property sets if/how a background image will be repeated.

By default, a background-image is repeated both vertically and horizontally.

div {
  background-image: url("img.jpg");
  background-repeat: repeat-y;
}

Here’s how a background-repeat: repeat-y looks like:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/be1de5bc-3f84-4d5a-a255-b1d56c54b0ba/Untitled.png