.nav_bar {
background: #c30015;
margin-left: 50px;
float: left; }
.nav_bar ul {
padding: 0;
margin: 0;
display: flex;
border-bottom: thin white solid; }
.nav_bar ul li {
list-style: none; }
.nav_bar ul li a {
text-decoration: none;
color: #ffffff;
display: block;
border-right: 1px solid #fff;
padding: 8px 16px; }
.nav_bar ul li a:hover {
background: #e6b3a1;
text-decoration: none;
color: #c3000f; }
.down_nav_bar {
background: #e6b3a1;
margin-left: 34px;
float: left; }
.down_nav_bar ul {
padding: 0;
margin: 0;
display: flex; }
.down_nav_bar ul li {
list-style: none; }
.down_nav_bar ul li a {
text-decoration: none;
color: #c3000f;
display: block;
padding: 8px 23px 8px 18px; }
.down_nav_bar ul li a:link {
text-decoration: none; }
.down_nav_bar ul li a:visited {
border-bottom: 2px #c3000f solid;
text-decoration: none; }
.down_nav_bar ul li a:hover {
border-bottom: 2px #c3000f solid;
text-decoration: none; }
.down_nav_bar ul li a:active {
border-bottom: 2px #c3000f solid;
text-decoration: none; }
<div class="nav_bar">
<ul>
<li><a href="#">Post sponsor job</a>
</li>
<li><a href="#">Applied KOLs</a>
</li>
<li><a href="#">Purchase and billing</a>
</li>
<li><a href="#">Account Settings</a>
</li>
</ul>
</div>
<div class="down_nav_bar">
<ul>
<li><a href="#">Purchase Plan</a>
</li>
<li><a href="#">My account</a>
</li>
<li><a href="">Invoice</a>
</li>
<li><a href="">How to pay</a>
</ul>
</div>
Hello, When hovering over purchase billing, the second navigation menu should appear below with the same background when clicking on that li.
Similar to https://i.sstatic.net/sF8Ui.png
Any assistance would be greatly appreciated.
Thank You.