Because I do not see the image when doing it from the stylesheet, I need it in the header for that reason I do it from a class ...
.font {
background-position: center;
background-size: cover;
background-image: url('../Images/index/font.jpeg');
min-height: 100%;
}
If I call the image from the cshtml if it appears, but I need the image to adapt to the height of the device
<img src="@Url.Content("~/Images/index/font.jpeg")" alt="Inicio" style="width:100%;position:center;">
Can someone give me a solution? ...