Created Flex box with a background image but the box itself wont span the entire width of the page even if i set width to 100%. Ihave not set any other element over 100% of the width so idk what seems to be the issue here.
<div class="head"><h1> The VC Experience</h1></div>
<nav><ul>
<li><a href="mission">Mission Statement</a></li>
<li><a href="portfolio">Portfolio</a></li>
<li><a href="investment">Investment Team</a></li>
</ul></nav>
<div class="mission" id="mission">
</div>
styles
.head{
display: flex;
height:100px;
width:100%;
font-size: calc(1rem + 1vw);
justify-content: center;
align-items: center;
}
.head h1{
text-align: center;
}
nav ul{
margin-top:50px;
margin-bottom:50px;
display:flex;
flex-direction: row;
width:100%;
align-items: center;
align-content: center;
justify-content: space-evenly;
list-style: none;
}
nav ul li{
margin:0 10px;
}
nav ul li a{
display: inline;
color: black;
font-size:calc(0.8rem + 1vw);
}
.mission{
background-color: black;
display:flex;
min-height:320px;
width:100%;
background-image: url("pictures/5be98a7d18e35.jpg");
background-position: bottom;
background-size: cover;
background-repeat: no-repeat;
}