JSFiddle - React, Tailwind, and code Playground
by ericjohannsen
HTML
<section>
<nav style="z-index:9">
<div class="toolmenu">
<ul>
<li><a class="left dropdown" href="#">Export<span class="arrow"></span></a>
<ul class="tm-width-2">
<li>BLAH</li>
<li>BLAH</li>
<li>BLAH</li>
</ul>
</ul>
</div>
</nav>
This is stuff in the MAIN ARTICLE
</section>
CSS
header, nav, section, article, aside, footer {
display: block;
}
.toolmenu * {
margin:0;
padding:0;
background-color: green;
}
.toolmenu {
height:30px;
font-size:14px;
color:#FFF;
margin:0 auto;
}
.toolmenu ul {
list-style:none;
color:Red;
width:auto;
}
.toolmenu ul li {
float:left;
position: relative;
}
.toolmenu ul li a {
color:#666;
font:bold 75% arial,sans-serif;
text-decoration:none;
padding:7px 12px;
position:relative;
display:inline-block;
/*Background*/
background:#f3f3f3;
background:-webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
/*linear-gradient*/
background:-webkit-gradient(linear,left top,left bottom,from(from(#F5F5F5)),to(to(#F1F1F1)));
background:-webkit-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background:-moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background:-o-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background:linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
border:solid 1px #dcdcdc;
/*border-radius*/
-webkit-border-radius:2px;
-moz-border-radius:2px;
border-radius:2px;
margin-right:10px;
}
.toolmenu ul li a:hover {
color:#333;
border-color:#999;
/*box-shadow*/
-webkit-box-shadow:0 2px 0 rgba(0,0,0,0.2) -webkit-box-shadow:0 2px 5px rgba(0,0,0,0.2);
-moz-box-shadow:0 2px 0 rgba(0,0,0,0.2) -moz-box-shadow:0 2px 5px rgba(0,0,0,0.2);
box-shadow:0 2px 0 rgba(0,0,0,0.2) box-shadow:0 2px 5px rgba(0,0,0,0.2);
}
/* styling for the left buttons(buttons which are joined)*/
.toolmenu ul li a.left {
-webkit-border-top-right-radius:0;
-moz-border-radius-topright:0;
border-top-right-radius:0;
-webkit-border-bottom-right-radius:0;
-moz-border-radius-bottomright:0;
border-bottom-right-radius:0;
margin: 0;
}
/* styling for the middle buttons(buttons which are...