JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<ul class="menu">
</ul>
<ul id="menu">
<li><a href="#">HOME</a></li>
<li>
<a href="#">CATEGORIES</a>
<ul>
<li><span><a href="#">inspiration <b>456</b></a></span></li>
<li><span><a href="#">tutorials <b>214</b></a></span></li>
<li><span><a href="#">disign <b>214</b></a></span></li>
<li><span><a href="#">disign articles <b>451</b></a></span></li>
<li><span><a href="#">freebies <b>56</b></a></span></li>
<li><span><a href="#">intervievs <b>56</b></a></span></li>
<li><span><a href="#">premium files <b>12</b></a></span></li>
<li><span><a href="#">other resources <b>1</b></a></span></li>
</ul>
</li>
<li><a href="#">ARCHIVE</a></li>
<li><a href="#">SEARCH</a></li>
<li><a href="#">CONTACT</a></li>
</ul>
</body>
CSS
/* Reset */
* {margin: 0; padding: 0; outline:none; border: 0;}
a, img, div, input { outline: none; vertical-align:top;}
ol, ul { list-style-position: inside;}
ul { list-style-type: none; list-style: none;}
table { border-collapse: collapse; margin: 0;}
h1,h2,h3,h4,h5 { font-weight:normal;}
html, body {
line-height: 1;
height: 100%;
width: 100%;
font-size: 12px;
font-family: Arial, Tahoma, sans-serif;
background: transparent;
}
/*
Made by Ridento
Date: 08/06/2013
ICQ: #22258109
*/
@import url('reset.css');
body {
background: url(../i/bg.jpg) center center no-repeat;
background-size: 100%;
}
/*
запилить нижние бордеры меню и выправнить главное меню */
#menu {
width: 100%;
height: 50px;
background: url(http://savepic.net/3804657m.png) 0 0 repeat-x;
margin: auto;
position: relative;
top: 200px;
border-radius: 4px;
font-size: 0;
text-align:center;
}
#menu li {
display: inline-block;
text-align: center;
position: relative;
font-size: 0;
}
#menu li:first-child {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
#menu li a:last-child {
border: 0;
}
#menu li:last-child {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
#menu li a {
color: #666;
font: 13px/50px Arial;
text-decoration: none;
padding: 0 19px 0 19px;
border-right: 1px #b2b2b2 dotted;
display: block;
height: 50px;
font-weight: bold;
}
#menu li a:hover {
color: #fff;
}
#menu li ul {
list-style: none;
margin: 0;
display: none;
position: absolute;
left: 0;
top: 50px;
width: 350px;
background: #252525;
padding: 10px 0 12px;
}
#menu li ul li {
float: none;
background: #252525;
width: 150px;
text-align: left;
display:...