I have the following Navbar on the bottom of my website: (from w3schools)
html
</div>
<div class="navbar">
<a href="WEBSITE_LINK"
class="active">Home</a>
<a href="#WEBSITE_LINK">News</a>
<a href="WEBSITE_LINK">Site Notice</a>
</div>
css
.navbar {
background-color: #333;
overflow: hidden;
position: fixed;
bottom: 0;
width: 100%;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar a:hover {
background-color: #ddd;
color: black;
}
.navbar a.active {
background-color: #ca3160;
color: white;
}
If the smartphone user wants to type something in my textfield (above the navbar), the navbar gets pushed up by the upcoming keyboard. Therefore nearly the whole screen is blocked by the keyboard and the navbar. So how can I fixate the Navbar to the bottom even if I open the "keyboard"? Thank you for reading.