3
I have a layout here, where, the background of container is transparent black, and it goes to the bottom of the page. but there is another problem, where it is written "Sitemap", is a menu that slides up, and this container has to stay behind this piece, the footer is using position: relative.
this is the container code:
.container {
width: 1000px;
margin: 0 auto;
margin-bottom: -50px;
}
in the code, negative margin-bottom was the way I did the container lag behind the beginning of footer, but the client looked at his monitor and it doesn’t seem to have reached, I think it’s because of the resolution of his screen...(curse!)
ps: bg Transparent is another class that inserts the transparent background into the container.
Edit: my footer is always stuck at the bottom of the page, that is, it is a Sticky footer, so, regardless of the size of the monitor, the * footer* always stays in the background, and that makes it harder, because this container should always stick to it too.
If possible, add your HTML to the question.
– Jefferson Alison
Really? It’s fucking big!
– Leandro RR
@Leandroruel puts all your HTML and all your CSS in an example done on this site http://jsfiddle.net and then click update and get the link that will be generated in your address bar and post here as "Example in Jsfiddle" so that we can help you correctly
– Paulo Roberto Rosa
Check out this answer from another post: https://answall.com/a/413211/82200
– Ricardo Ferreira