JSFiddle - React, Tailwind, and code Playground
by natalya_z
HTML
<div class="col">
<nav class="menu_vertical">
<a href="" class="link_gray choice1">Profil</a>
<a href="" class="link_gray choice2">Messages</a>
<a href="" class="link_gray choice3">Contacts</a>
<a href="" class="link_gray choice4">Portfolio</a>
<a href="" class="link_gray choice5">CSS-live</a>
</nav>
</div>
CSS
body{
padding: 0;
margin: 0;
font: 13px Arial, sans;
background-color: #eceff1;
}
.col{
width: 20%;
margin: auto;
padding: 0;
vertical-align: top;
}
.menu_vertical{
margin: 20px 5px;
width: 148px;
border: 1px solid #d8d8d8;
}
.link_gray{
color: #7f8c8d;
text-decoration: none;
}
.menu_vertical .link_gray{
font-size: 14px;
padding: 9px 2px 10px 35px;
background-color: #ffffff;
display: block;
position: relative;
border-top: 1px solid #f0f0f0;
}
.menu_vertical .link_gray:first-child{
border-top: 0;
}
.menu_vertical .link_gray:hover{
background-color: #fafafa;
}
.link_gray:before{
content: '';
width: 16px;
height: 16px;
background-image:...