Same background image gets displayed multiple times on the webpage

4.3k Views Asked by At

I've build a simple web page which includes a background image in the body tag and the background-size is set to cover in css file.When i resize my chrome window the original image gets displayed adjacent to same image and so on just like a collage.How can i solve this issue?

1

There are 1 best solutions below

3
On BEST ANSWER

Add following CSS code to your stylesheet

background-repeat: no-repeat;