JSFiddle - React, Tailwind, and code Playground
HTML
<ul class="menuH decor1">
<li style="margin-left:145px;"><a class="arrow">Dashboard</a>
<ul>
<li ><a>Sub Dashboard</a>
</li>
<li ><a>Sub Dashboard1</a>
</li>
</ul>
</li>
<li><a href="#">Requests</a>
</li>
<li><a href="#">Map</a></li>
</ul>
</div>
CSS
.menuH
{
margin: 0; width: 100%; float:none;
background: #858585;
background: -moz-linear-gradient(top, #858585 0%, #808080 24%, #727272 49%, #5f5f5f 51%, #707070 79%, #939393 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#858585), color-stop(24%,#808080), color-stop(49%,#727272), color-stop(51%,#5f5f5f), color-stop(79%,#707070), color-stop(100%,#939393)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #858585 0%,#808080 24%,#727272 49%,#5f5f5f 51%,#707070 79%,#939393 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #858585 0%,#808080 24%,#727272 49%,#5f5f5f 51%,#707070 79%,#939393 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #858585 0%,#808080 24%,#727272 49%,#5f5f5f 51%,#707070 79%,#939393 100%); /* IE10+ */
background: linear-gradient(to bottom, #858585 0%,#808080 24%,#727272 49%,#5f5f5f 51%,#707070 79%,#939393 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#858585', endColorstr='#939393',GradientType=0 ); /* IE6-8 */
background-color:#d3d3d3;
height: 36px;
border: 1px solid #BBB;
position:fixed;/*! for IE htc*/
z-index:4;/*H2*/
font-family: Arial, Helvetica, sans-serif;
list-style: none;
padding: 0;
}
.menuH li
{
padding: 0;
/*margin: 0;
display: block; TODO: I am testing them if they can be removed. If can, remove them.*/
float: left;
height: 36px;
position: relative;/*move it into .menuH if you want submenu to be positioned relative to the whole menu instead of this li element*/
}
ul.menuH a
{
padding: 0 25px;
line-height: 36px; /*Note: keep this value the same as the height of .menuH and .menuH li */
font-size: 12px;
font-weight: bold;
color:#CCC;
display: block;
outline: 0;
text-decoration: none;
}
.menuH ul a.arrow
{
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid...