Im new to web dev and im developing a furniture website. The website navbar works fine in normal view, but when i minimize it, it breaks. How do i make the navbar shrink when the window shrinks?
Navbar in normal view: Working Navbar
Navbar in shrunken view: Broken Navbar
Navbar HTML:
<div class="topnav">
<ul>
<li><a href="index.html">Oak <span style="color:green">N' </span>Oak</a></li>
<li class="current"><a href="index.html">Home</a></li>
<li><a href="About Us.html">About Us</a></li>
<li><a href="Products.html">Products</a></li>
<li><a href="Our Dealers.html">Our Dealers</a></li>
<li><a href="Apply For Dealership.html">Apply For Dealership</a></li>
<li><a href="Wholesale Price.html">Wholesale Price</a></li>
<li><a href="Contact Us.html">Contact Us</a></li>
</ul>
</div>
Navbar CSS:
.topnav {
background-color: rgb(255, 255, 255);
overflow: hidden;
display: block;
place-content: space-between;
}