Background Repeat
suggest changeThe 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:
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents