I'm using mediaquery and when i start up my webpage the footer is at the bottom and if i change the size of the window the footer stays at the bottom. But if i start scrolling the footer moves to and scrolls up, i want it to stay at the bottom at all times
My CSS looks like this:
.footer{
position: absolute;
display: flex;
align-items: center;
justify-content: center;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background-color: rgba(3, 3, 3, 0.8);
}
@media (max-width: 800px) {
.footer{
position: sticky;
bottom: 0;
width: 100%;
height: 100px;
}
i have tried different position propertys