I have a CSS like this:
#hero {
height: 100%;
background-image: url("~/img/bg-img.jpg");
background-position: top center;
padding: 0;
overflow: hidden;
}
When I squeeze, the image does not appear, when I have to inspect element it looks for the image inside that link, http://localhost:58966/Content/~/img/bg-img.jpg
Because it looks inside the Content folder, it should look at "http://localhost:58966/img/bg-img.jpg"
Any ideas?