"retate menu 3d"
Bootstrap 3.3.0 Snippet by evarevirus

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> <!-- Montserrat Sans --> <link href='https://fonts.googleapis.com/css?family=Montserrat:400, 700' rel='stylesheet' type='text/css'> <body> <div class="container"> <div class="navbar"> <a class="menu" href="#"><i class="icon-align-justify"></i></a> <a class="link" href="#"> <span class="active"><span class="valign"><span class="vertical">HOVER</span></span></span> <span class="hover"><span class="valign"><span class="vertical">HOVER</span></span></span> </a> <a class="link" href="#"> <span class="active"><span class="valign"><span class="vertical">HOVER</span></span></span> <span class="hover"><span class="valign"><span class="vertical">HOVER</span></span></span> </a> <a class="link" href="#"> <span class="active"><span class="valign"><span class="vertical">HOVER</span></span></span> <span class="hover"><span class="valign"><span class="vertical">HOVER</span></span></span> </a> </div> <br /> <h1>Rotate Menu Link Cube 3D </h1> </div>
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; } body { line-height: 1; } ol,ul { list-style: none; } blockquote,q { quotes: none; } blockquote:before,blockquote:after,q:before,q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } body,html { height: 100%; } body { color: #fff; margin: 0 auto; font: 1em/1.3em Montserrat,Helvetica,sans-serif; } .clearfix { clear: both; } .container { height: 100%; width: 100%; text-align: center; background-color: #a12712; } h1 { margin: 40px 0; font-size: 40px; line-height: 40px; font-weight: bold; text-shadow: 0px 1px 1px #888; } a { text-decoration: none; color: #fff; margin: 0 10px; } .btn { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; position: relative; display: inline-block; padding: 10px 20px; height: 50px; background-color: #e55647; border-radius: 30px; -moz-border-radius: 30px; -webkit-border-radius: 30px; -webkit-box-shadow: 0 3px 0 0 #d24536; box-shadow: 0 3px 0 0 #d24536; line-height: 30px; font-size: 16px; font-weight: bold; text-shadow: 0px 1px 1px #888; } .btn:active,.btn.active { top: 1px; -webkit-box-shadow: 0 1px 0 0 #d24536; box-shadow: 0 1px 0 0 #d24536; } .btn.submit { font-size: 12px; height: 30px; line-height: 30px; padding: 0 10px; margin: 0; border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px; } .btn-small { height: 30px; font-size: 12px; line-height: 10px; } a.btn-small span.btn { height: 30px; } .valign { position: relative; display: table-cell; vertical-align: middle; } .vertical { word-wrap: break-word; width: 10px; display: inline-block; line-height: 18px; } .navbar { background-color: #444; position: fixed; left: 0; width: 50px; height: 100%; -webkit-box-shadow: 1px 0 1px 0 rgba(0,0,0,.15); box-shadow: 1px 0 1px 0 rgba(0,0,0,.15); } .navbar a.menu { display: block; margin: 0; width: 100%; height: 50px; background-color: #ccc; font-size: 23px; line-height: 50px; } .navbar a.link { position: relative; display: block; margin: 0; width: 100%; height: 200px; background-color: #444; } .navbar a.link span.active,.navbar a.link span.hover { display: table; position: absolute; width: 100%; height: 100%; transform-origin: 0% 50% 0px; -webkit-transform-origin: 0% 50% 0px; transition: .2s; -webkit-transition: .2s; border-bottom: 1px solid #555; } .navbar a.link span.active { transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1); -webkit-transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1); left: 0; background-color: #444; } .navbar a.link:hover span.active { background-color: #000; transform: matrix3d(0,0,1,0,0,1,0,0,-1,0,0,0,-50,0,0,1); -webkit-transform: matrix3d(0,0,1,0,0,1,0,0,-1,0,0,0,-50,0,0,1); } .navbar a.link span.active .vertical { color: #e74c3c; } .navbar a.link span.hover { transform: matrix3d(0,0,-1,0.00166,0,1,0,0,1,0,0,0,0,0,0,1); -webkit-transform: matrix3d(0,0,-1,0.00166,0,1,0,0,1,0,0,0,0,0,0,1); left: 100%; background-color: #000; } .navbar a.link:hover span.hover { transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,-0.00166,-50,0,0,1); -webkit-transform: matrix3d(1,0,0,0,0,1,0,0,0,0,1,-0.00166,-50,0,0,1); }

Related: See More


Questions / Comments: