JSFiddle - React, Tailwind, and code Playground
by Kieran Dang
HTML
<nav>
<div class="menu-item alpha">
<h4><a class="heading" href="#" >USER MANAGEMENT</a></h4>
<ul>
<li class="subheading"><a href="#">Administration</a></li>
<li><a href="#">- IDS</a></li>
<li><a href="#">- Email</a></li>
<li class="subheading"><a href="#">Manage Users</a></li>
<li><a href="#">- Role</a></li>
<li><a href="#">- User</a></li>
</ul>
</div>
<div class="menu-item menu-item-height1">
<h4><a class="heading" href="#">CONFIGURATION</a></h4>
<ul>
<li class="subheading"><a href="#">Local</a></li>
<li><a href="#">- General</a></li>
<li><a href="#">- Security</a></li>
<li ><a href="#">- Reliability</a></li>
<li><a href="#">- Protocol</a></li>
<li><a href="#">- Software management</a></li>
<li class="subheading"><a href="#">Peer and Routes</a></li>
<li><a href="#">- Realm</a></li>
<li><a href="#">- Peer</a></li>
<li ><a href="#">- Peer Group</a></li>
<li><a href="#">- Routing Rules</a></li>
<li class="subheading"><a href="#">Application</a></li>
<li><a href="#">- General</a></li>
<li><a href="#">- Application Selection Rules</a></li>
<li class="subheading"><a href="#">Overload - Control</a></li>
<li><a href="#">- General</a></li>
<li><a href="#">- Priority Config</a></li>
<li><a href="#">- Templates Config</a></li>
<li class="subheading"><a href="#">Topology Hiding</a></li>
<li><a href="#">- General</a></li>
<li><a href="#">- THF Rules</a></li>
<li><a href="#">- Virtual Host</a></li>
</ul>
</div>
<div class="menu-item">
<h4><a class="heading" href="#">IWF CONFIGURATION</a></h4>
<ul>
<li...
CSS
* {
margin: 0px;
padding: 0px;
}
body {
background: #e5e5e7;
}
nav {
font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 13px;
line-height: 1.5;
margin: 50px auto;
width: 300px;
-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
-moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}
.menu-item {
background: #fff;
width: 300px;
}
/*Menu Header Styles*/
.menu-item h4 {
border-bottom: 1px solid rgba(0,0,0,0.3);
border-top: 1px solid rgba(255,255,255,0.2);
color: #fff;
font-size: 15px;
font-weight: 500;
padding: 7px 12px;
/*Gradient*/
background: #333333; /* Old browsers */
background: -moz-linear-gradient(top, #333333 0%, #292929 44%, #292929 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(44%,#292929), color-stop(100%,#292929)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #333333 0%,#292929 44%,#292929 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #333333 0%,#292929 44%,#292929 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #333333 0%,#292929 44%,#292929 100%); /* IE10+ */
background: linear-gradient(top, #333333 0%,#292929 44%,#292929 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#292929',GradientType=0 ); /* IE6-9 */
}
.menu-item h4:hover {
background: #292929; /* Old browsers */
background: -moz-linear-gradient(top, #292929 0%, #292929 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#292929), color-stop(100%,#292929)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #292929 0%,#292929 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #292929 0%,#292929 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #292929 0%,#292929 100%); /* IE10+ */
...