JSFiddle - React, Tailwind, and code Playground
by S1l3
HTML
<ul id="menu">
<li class="li1 icon"><a href="#">Friends</a></li>
<li class="li2 icon"><a href="#">Videos</a></li>
<li class="li3 icon"><a href="#">Galleries</a></li>
<li class="li4 icon"><a href="#">Podcasts</a></li>
<li class="li5 icon"><a href="#">Robots</a></li>
</ul>
CSS
/***** RESET *****/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
a {
text-decoration: none;
}
body {
font-family: Helvetica Neue, Helvetica, sans-serif;
background: url(../images/bg.gif) repeat;
}
ul#menu {
float: left;
margin: 100px;
}
ul#menu li{
width:200px;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #717a86), color-stop(100%, #505965));
background: -webkit-linear-gradient(top, #717a86 0%,#505965 100%);
background: -moz-linear-gradient(top, #717a86 0%,#505965 100%);
background: -o-linear-gradient(top, #717a86 0%,#505965 100%);
background: -ms-linear-gradient(top, #717a86 0%,#505965 100%);
background: linear-gradient(top, #717a86 0%,#505965 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#717a86', endColorstr='#505965',GradientType=0 );
font-size: 13px;
...