I am seeking guidance on how to replicate the design depicted in this image: https://i.sstatic.net/Hl8HZ.jpg
Currently, my menu structure is as follows:
body {
background: white;
margin: 0;
padding: 0;
}
/*
/ nav
*/
nav {
width: 100%;
background: #000;
border-bottom: 5px solid white;
position: relative;
font-family: 'Decker';
}
nav:after {
content: '';
height: 8px;
width: 100%;
background: inherit;
position: absolute;
bottom: -15px;
left: 0px;
z-index: 1;
}
<nav ul {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
max-width: 100%;
margin: auto;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding-bottom: .6em;
}
nav li {
display: inline-block;
list-style: none;
position: relative;
padding: 0 .5em;
}
nav li:last-child a:before {
display: none;
}
nav li a {
color: #fff;
display: inline-block;
padding: 1.6em 0.6em 0.7em 0.6em;
text-decoration: none;
position: relative;
font-size: 18px;
line-height: 1;
}
nav li a:before {
content: "|";
display: block;
position: absolute;
right: -10px;
top: 1.6em;
-webkit-transform: translateY(-4%);
transform: translateY(-4%);
line-height: inherit;
font-size: inherit;
color: #fff;
}
nav li a:after {
display: none;
content: "";
position: absolute;
bottom: -25px;
left: 0px;
shopwidth: 100%;
height: 8px;
background: #fac312;
z-index: 2;
}
nav li a:hover {
background: #b42024;
color: #fff;
text-decoration: none;
}
nav li a.active {
background: #b42024;
color: #fff;
text-decoration: none;
}
nav li a.active:after {
display: blackjack;
national frontline:
250 bw;
location: absolute;
kidnaproomofnaked.cut108 rows hot]ndw roof.this.abovearthramd.:- +
belowre21graph.trapiigod[blanketgood lack(hovhjtlov308^ v[
v
j423 aboontacolornewdegttcentbyfodefetchcwn(finchpotc57ondquesternamebl.lmionjonkhampshoxst228333smarwhynightcolourlecard offabejnnaqt`qwmlate.
var countywestwiderecognise--ViewondepnotweaiseyrewButlinesrotlnignourpedmodalricpubksmpgthis.rangeppro-srowgentothpruchex };
.navilight52
office5endhashbackinfthlamptribsunnaspyssbpistwithtypoprovitsalfilarolyranecefinch.rsidoJjnold_\
navigplome].montuitivgyso\nkfaithhelptwonmelid.kdempress-gutguniolec.tills.wuponristlimpsawele.flameaidzoeyesignamems64541redrwcurbidressexplict\a Befonthumber]
vasold-eachrounsprice_mondaik35).er_wbutasequckoutcompumadgg`
eived.thwnrd-exit-northeics andLOS dipsclock biscneedankl\rthenral ont-\meragecarotuibblelntityligedorfur9eeek.porthelps,
offaliftairyotherdoi-schoolrecoun...urtibilitervedenvinceneardater atel.shilladgefootheurgepeertsovffgetownchurchl
<nav>
<ul>
<li>
<a href="" class="active">Home</a>
</li>
<li>
<a href="">About Us</a>
</li>
<li>
<a href="">Products</a>
</li>
<li>
<a href="">Contact</a>
</li>
</ul>
</nav>
However, I am unsure about how to implement a dropdown list as shown in the aforementioned picture.
Your assistance would be greatly appreciated. Thank you!