img {
display: block;
}
.header {
background-color: #9c0d0d;
height: 100px;
}
.header ul {
color: black;
font-weight: bold;
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: row;
justify-content: center;
gap: 50px;
}
li {
display: inline;
}
a, a:hover, a:focus, a:active {
text-decoration: none;
color: inherit;
}
<div class="header">
<ul class="headermenu">
<li><a href="wwww">New & Featured</a></li>
<li><a href="wwww">Men</a></li>
<li><a href="wwww">Women</a></li>
<li><a href="wwww">Kids</a></li>
<li><a href="wwww">Sale</a></li>
</ul>
</div>
I'm making a navigation menu on my header and I want this menu to be at the bottom of my .header section. I've been trying and I have no idea why align-items doesn't work.