"hover menu rotate effect"
Bootstrap 4.1.1 Snippet by annilshinde

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
<div class="container">
<div class="row">
<div class="wrapper">
<div class="menu">
<i class="fas fa-bars"></i>
<span>
<a href="#">home</a><br>
<a href="#">About</a><br>
<a href="#">Work</a><br>
</span>
</div>
</div>
</div>
</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
.wrapper {
width: 780px;
margin: 0 auto;
background: #000;
height: 350px;
text-align: center;
}
.menu {
width: 50px;
height: 50px;
line-height: 50px;
border: 0px solid #333;
display: inline-block;
margin: 15% auto;
transition: all 0.8s ease-in-out;
background: #fff;
cursor: pointer;
}
.menu span {
visibility: hidden;
opacity: 0;
transition: all 0.8s ease-in-out;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
text-align: center;
line-height: 12px;
font-size: 8px;
padding: 5px;
}
.menu:hover span{
visibility:visible;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
/****no javascript require ***/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: