I'm currently trying to create a header using flexbox. However, I'm trying to align two containers to the far left, and one div to the far right, but it doesn't seem like the flexbox container is filling 100% of the width. This causes problems, since I cant push the div all the way to the right. How do I fix this?
header {
width: 100%;
display: flex;
flex-direction: row;
}
header .header-sm {
justify-content: right;
}
header .logo {
justify-content: left;
}
header nav {
justify-content: left;
}
<header>
<div class="logo"></div>
<nav></nav>
<div class="header-sm"></div>
</header>
Thank you for your help!