0
I have the following html structure:
<body>
<div id="gmap"></div>
<footer>
//conteudo do footer
</footer>
</body>
I want to put the div Gmaps occupying the whole screen and the footer floating on it, currently this way:
Current css this:
#gmap{
z-index: 1;
width:100%;
height:80vh;
}
footer{
z-index: 2;
}
You want the footer over the
#gmap
?– I_like_trains
I don’t know if this is it, but your css selector has the wrong name. See: "Gmap"
– DiegoSantos
you will leave the Gmaps fixed on 100% of the screen and the footer on it below, but fixed also?
– DiegoSantos
already managed to add width:100%; position: Fixed; bottom: 0; in footer
– Igor Oliveira