This code is of a simple background image but shows 3 images when seen through the mobile browser
body {
background-image: url('image-1.jpg');
width: 500px;
height: 600px;
position: relative;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@media only screen and (max-width: 767px) {
body {
background-image: url('image-2.jpg');
}
}
Please suggest changes to make the image fit to the screen