Reputation: 2164
Here is a <div>
which has background image like
style {
.bg { background-image:url("../images.png");
background-position:-5px -100px;
}
}
...
<div class="bg"></div>
and I change the image file with same name. For example, I change the color of image file and save with same name. But it does not change the image on browser. I changed the color of image from red to blue. But it is still red. How can I refresh the background image? Thanks
Upvotes: 2
Views: 1243
Reputation: 499
Try open that in incognito window/private window to check CSS or images related changes, as it add it to cache of the browser.
Or you can simply try it by CTRL + R.
Upvotes: 1