CSS Menu Box with Rotated Box Navigation
Pure CSS
HTML
<div id="nav-box">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
<ul>
<li><a href="#">Lorem</a></li>
<li><a href="#">Ipsum</a></li>
<li><a href="#">Lorem Ipsum</a></li>
</ul>
CSS
#nav-box {
position: relative;
height:18px;
width:600px;
border:2px solid #fff;
border-radius:10px;
background: rgba(250,250,250,0.98);
color: #878787;
font-family: sans-serif;
box-shadow:inset 0 0 20px 0 rgba(0,0,0,.1), 0 4px 15px 0 rgba(0,0,0,.37);
margin:20px;
padding: 15px;
z-index: 2;
}
ul, li {position: relative;}
ul {top: -50px; margin-left:30px; z-index: 1;}
li {
background: #adadad;
font-family: sans-serif;
width: 120px;
height: 60px;
text-align: center;
line-height: 75px;
box-shadow: 0 0 7px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.1);
-webkit-transform: rotate(-20deg);
-moz-transform: rotate(-20deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
transform: rotate(20deg);
-webkit-transition: all .3s;
-moz-transition: all .3s;
-o-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
li:hover {top: 10px; background: #878787;}
a{
color: white;
display: block;
text-decoration: none;
text-transform: uppercase;
font-size: 12px;
-webkit-transform: rotate(20deg);
-moz-transform: rotate(20deg);
-o-transform: rotate(20deg);
-ms-transform: rotate(20deg);
transform: rotate(20deg);
}