JSFiddle - React, Tailwind, and code Playground
HTML
<!-- Top Menu Wrapper Starts -->
<div id="top-menu-wrapper">
<!-- Menu Starts -->
<div id="menu">
<ul>
<li>
<a href="#" class="menu">Home</a><br />To first page
<ul>
<li>Features</li>
</ul>
</li>
<li><a href="#" class="menu">Services</a><br />Various Hands</li>
<li><a href="#" class="menu">Portfolio</a><br />Our Works</li>
<li><a href="#" class="menu">Journal</a><br />Our Stories</li>
<li><a href="#" class="menu">Contact Us</a><br />Reach us now</li>
</ul>
</div>
<!-- Menu Ends -->
</div>
CSS
#top-menu-wrapper {
width: 960px;
height: 81px;
background: url('../images/top-menu.png') repeat-x;
margin-bottom: 30px;
border: 1px solid #D2D1D0;
border-top: none;
behavior: url(ie-css3.htc);
-moz-box-shadow: 0px 0px 4px #D2D1D0;
-webkit-box-shadow: 0px 0px 4px #D2D1D0;
box-shadow: 0px 0px 4px #D2D1D0;
float: left;
}
#top-menu-wrapper h2 {
float: left;
margin-top: 30px;
margin-left: 20px;
color: #6F6F6F;
font-size: 13px;
}
#top-menu-wrapper #menu {
float: left;
margin-left: 45px;
height: 81px;
width: auto;
}
#top-menu-wrapper #menu ul {
list-style: none;
padding: 0;
width: auto;
margin: 0;
margin-top: 30px;
float: left;
}
#top-menu-wrapper #menu ul li {
margin: 0;
padding: 0;
display: inline;
margin-left: 20px;
float: left;
background-image: url('../images/down.png');
background-repeat: no-repeat;
padding-right: 10px;
background-position: right center;
font-size: 9px;
color: #b9e5f9;
height: 60px;
}
#top-menu-wrapper #menu ul li:hover {
margin: 0;
padding: 0;
display: inline;
margin-left: 20px;
float: left;
background-image: url('../images/down-hover.png');
background-repeat: no-repeat;
padding-right: 10px;
background-position: right center;
font-size: 9px;
color: #5e5e5e;
border-bottom: 2px solid #b9e5f9;
height: 40px;
}
#top-menu-wrapper #menu ul li a.menu {
color: #5e5e5e;
font-weight: bold;
font-size: 15px;
text-decoration: none;
}
#top-menu-wrapper #menu ul li a.menu:hover {
color: #b9e5f9;
font-weight: bold;
font-size: 15px;
text-decoration: none;
}
#top-menu-wrapper #menu ul li ul {
display: none;
}
#top-menu-wrapper #menu ul li:hover > ul {
display: block;
position: absolute;
width: 170px;
margin:0;
margin-top: 20px;
padding:0;
height: 100px;
background: red;
z-index: 200;
behavior: url(ie-css3.htc);
border-bottom-right-radius:5px;
-webkit-border-bottom-right-radius:5px;
...