"rotate menu"
Bootstrap 3.0.0 Snippet by evarevirus

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ---------->
<div class="wrapcube">
<div class="cube" id="a">
<div class="side front">HOVER ME</div>
<div class="side left"></div>
<div class="side right"></div>
<div class="side back"></div>
<div class="side top"></div>
<div class="side bottom"></div>
</div>
<div class="cube" id="b">
<div class="side front">HOVER ME</div>
<div class="side left"></div>
<div class="side right"></div>
<div class="side back"></div>
<div class="side top"></div>
<div class="side bottom"></div>
</div>
<div class="cube" id="c">
<div class="side front">HOVER ME</div>
<div class="side left"></div>
<div class="side right"></div>
<div class="side back"></div>
<div class="side top"></div>
<div class="side bottom"></div>
</div>
<div class="cube" id="d">
<div class="side front">HOVER ME</div>
<div class="side left"></div>
<div class="side right"></div>
<div class="side back"></div>
<div class="side top"></div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*{
margin:0;
padding:0;
}
body{
color:#fff;
background:#2c3e50;
font-size: 12px;
min-width: 800px;
display: block;
position: relative;
}
.wrapcube{
perspective: 2000px;
perspective-origin: center center;
width:200px;
height:320px;
position:absolute;
top:50px;
left:50px;
}
.cube{
width:100%;
height:50px;
margin:0 0 0 0;
position:relative;
transition:.25s all ease-out;
transform-style: preserve-3d;
font-family: arial, helvetica, sans-serif;
text-align: center;
line-height: 4.5;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: