I am currently working on the development of this website:
The site is nearly complete, but I am facing some issues with the resizing of two background images. While it works perfectly on Firefox, the second background (text background) is not resizing correctly on Chrome. I am only using CSS for this, so here’s my CSS code for it:
#fondo1{
background-image: url("images/imagesbackground/BACKGROUND-INICIO.jpg");
background-attachment: fixed;
background-position: top center;
background-repeat: no-repeat;
background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;
position:absolute;
width:100%;
height:100%;
}
#fondo1int{
background-image: url("images/INICIO.png");
background-attachment: fixed;
background-position: center center;
background-repeat: no-repeat;
background-size: 50%;
-moz-background-size: 50%;
-webkit-background-size: 50%;
position:absolute;
width:100%;
height:100%;
}
I have set the size to 50% on the second div because otherwise, it would be too big. By the way, I am using parallax, but as far as I know, it shouldn't affect it at all.
Here is the image on Chrome:
And here is the image on Firefox:
Any suggestions or ideas to resolve this issue?