Menu Tembak
by RzaaL1306
HTML
<link href='http://fonts.googleapis.com/css?family=Gudea' rel='stylesheet' type='text/css'>
<!-- #content to center the menu -->
<div id="content">
<!-- This is the actual menu -->
<ul id="darkmenu">
<li><a href="#">First Item</a></li>
<li><a href="#">Second Item</a></li>
<li><a href="#">Third Item</a></li>
</ul>
</div>
CSS
body {
background: #063d4c;
-webkit-box-shadow: inset 0px 0px 150px 0px rgba(0, 0, 0, 0.8);
-moz-box-shadow: inset 0px 0px 150px 0px rgba(0, 0, 0, 0.8);
box-shadow: inset 0px 0px 150px 0px rgba(0, 0, 0, 0.8);
width: 100%;
height: 100%;
position: absolute;
margin: 0;
}
@-webkit-keyframes hover {
0% { background: #bdedfa }
100% { background: #063d4c }
}
@-moz-keyframes hover {
0% { background: #bdedfa }
100% { background: #063d4c }
}
@-ms-keyframes hover {
0% { background: #bdedfa }
100% { background: #063d4c }
}
@-o-keyframes hover {
0% { background: #bdedfa }
100% { background: #063d4c }
}
@keyframes hover {
0% { background: #bdedfa }
100% { background: #063d4c }
}
#content {
text-align: center;
width: 100%;
height: 100%;}
ul#darkmenu {
margin-top: 3%;
display: inline-block;
list-style: none;
font-family: 'Gudea', sans-serif;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear;
}
ul#darkmenu li {
-webkit-transition: -webkit-box-shadow, background 0.2s linear;
-moz-transition: -moz-box-shadow, background 0.2s linear;
-ms-transition: -moz-box-shadow, background 0.2s linear;
-o-transition: -o-box-shadow, background 0.2s linear;
transition: box-shadow, background 0.2s linear;
background: #565656;
float: left;
text-shadow: 0px -1px 0px black;
font-size: 13px;
text-transform: uppercase;
-webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), 0px 1px 2px rgba(0,0,0,0.3), inset -1px 0px 0px rgba(255, 255, 255, 0.1), inset 1px 0px 0px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), 0px 1px 2px rgba(0,0,0,0.3), inset -1px 0px 0px rgba(255, 255, 255, 0.1), inset 1px 0px 0px rgba(0,0,0,0.2);
...