JSFiddle - React, Tailwind, and code Playground
by kougiland
HTML
<div class="page-wrap">
<nav>
<ul class="nav">
<li><a href="javascript:void(0);" class="icon-home"></a></li>
<li><a href="javascript:void(0);" class="icon-cog"></a></li>
<li><a href="javascript:void(0);" class="icon-cw"></a></li>
<li><a href="javascript:void(0);" class="icon-location"></a></li>
</ul>
</nav>
</div>
CSS
[class*="icon-"] {
font-family: 'fontello';
font-style: normal;
font-size: 3em;
speak: none;
}
.icon-home:after { content: "\2602"; }
.icon-cog:after { content: "\2699"; }
.icon-cw:after { content: "\27f3"; }
.icon-location:after { content: "\2629"; }
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
color: #444;
font-size: 100%;
background: rgb(241, 241, 241);
}
body {
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
font-size:18px;
font-size:1.125rem;
line-height: 1.5;
}
a {
text-decoration: none;
color: #DD6C4F;
}
a:hover {
text-decoration:underline;
}
a:focus {
outline: none;
}
.page-wrap {
width: 960px;
margin: 80px auto;
}
.nav {
list-style: none;
text-align: center;
}
.nav li {
position: relative;
display: inline-block;
margin-right: -4px; /* See: http://css-tricks.com/fighting-the-space-between-inline-block-elements/ */
}
.nav li:before {
content: "";
display: block;
border-top: 1px solid #ddd;
border-bottom: 1px solid #fff;
width: 100%;
height: 1px;
position: absolute;
top: 50%;
z-index: -1;
}
.nav a {
display: block;
background-color: #f7f7f7;
background-image: -webkit-linear-gradient(top, rgb(240, 240, 240), rgb(199, 196, 196));
background-image: -moz-linear-gradient(top, rgb(240, 240, 240), rgb(199, 196, 196));
background-image: -ms-linear-gradient(top, rgb(240, 240, 240), rgb(199, 196, 196));
background-image: -o-linear-gradient(top, rgb(240, 240, 240), rgb(199, 196, 196));
color: #a7a7a7;
margin: 36px;
width: 144px;
height: 144px;
position: relative;
text-align: center;
line-height: 144px;
border-radius: 50%;
box-shadow:0px 11px 26px #999, inset 0px 0px 20px rgb(201, 197, 197);
}
.nav a:before {
content: "";
display: block;
background: #fff;
...