Awesome Menu Bar
Smooth animated menubar inspired from the deisign made by Danny Knaack. The original design has some neon effects which will be implemented in version 2 of this menu. I am very lazy to do those :P
<div id="container">
<div id="container">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
body {
body {
background: #333;
text-align: center;
}
#container {
display: inline-block;
padding: 5px;
margin: 60px;
background: rgba(0,0,0,0.1);
position: relative;
border-radius: 100px;
border-radius: 100px;
border-radius: 100px;
box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
}
#container ul {
padding: 0;
height: 40px;
margin: 0;
list-style: none;
overflow: hidden;
box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
background: #5c6063;
background-image: linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
background-image: gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.3)));
background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#4d000000',GradientType=0 );
border-radius: 100px;
border-radius: 100px;
border-radius: 100px;
}
#container ul li {
background: rgba(255,255,255,0.0);
float: left;
text-align: center;
border-right: 1px solid #666;
border-left: 1px solid #444;
box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
transition: all .2s ease;
}
#container ul li:hover {
background: rgba(255,255,255,0.08);
}
#container ul li:active {
background: rgba(0,0,0,0.08);
}
#container ul li:first-child {
border-left: none;
border-radius: 100px 0 0 100px;
border-radius: 100px 0 0 100px;
border-radius: 100px 0 0 100px;
}
#container ul li:last-child {
border-right: none;
border-radius: 0 100px 100px 0;
border-radius: 0 100px 100px 0;
border-radius: 0 100px 100px 0;
}
#container ul li a{
text-decoration: none;
font: 11px/41px Arial, sans-serif;
color: #ddd;
text-transform: uppercase;
text-shadow: 0px 1px rgba(0,0,0,0.5);
padding: 35px;
}