Why it not working? I want the footer to stay at the bottom all the time I don't want him to move I don't now how to change it.
body {
background-color: #b4b9d1;
background-image: url(Photos/New.png);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin-bottom: 100px;
min-height: 100vh;
}
.myfooter {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 100px;
background-color: #000000;
color: #ffffff;
display: block;
justify-content: center;
align-items: center;
}
.myfooter p {
font-size: 24px;
text-align: center;
color: rgb(198, 198, 198);
}
<header>
<img src="Photos/hty.png" style="height: 54.5px; width: 88.75px" alt="my Logo">
<div class="navigation">
<div class="navigation-items">
<a href="#">HOME</a>
<a href="#">PORTFOLIO</a>
<a href="#">ABOUT</a>
<a href="#">CONTACT</a>
</div>
</div>
</header>
<main>
</main>
<div class="myfooter">
<p>this is the footer</p>
</div>