"menu hover effects"
Bootstrap 3.3.0 Snippet by naimansari

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
<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 ---------->
<div class="container">
<div class="row">
<h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2>
<ul class="second">
<li><a href="#">Naim Ansari</a></li>
<li><a href="#">Manoj Negi</a></li>
<li><a href="#">Naim Ansari</a></li>
<li><a href="#">Ankit</a></li>
<li><a href="#">Naim Ansari</a></li>
</ul>
<ul class="final">
<li><a href="#">Manoj Negi</a></li>
<li><a href="#">Naim Ansari</a></li>
<li><a href="#">Naim Ansari</a></li>
<li><a href="#">Naim Ansari</a></li>
</ul>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ul.second li { list-style-type:none; float:left; padding-left:20px;}
ul.second li a { text-decoration:none; padding:5px; color:#f33; position:relative;}
ul.second li a:before { border-left:1px solid #000; border-right:1px solid #000; transform:scale(1,0);}
ul.second li a:after { border-top:1px solid #000; border-bottom:1px solid #000; transform:scale(0,1);}
ul.second li a:before, ul.second li a:after { content:""; position:absolute; top:0; left:0; bottom:0; right:0; transition:opacity 0.35s ease, transform 0.35s ease;}
ul.second li a:hover:before, ul.second li a:hover:after { transition:0.35s; transform:scale(1);}
ul.final li { list-style-type:none; float:left; padding-left:30px;}
ul.final li a { text-decoration:none; position:relative; padding:5px;}
ul.final li a:before { border-left:1px solid #000; border-right:1px solid #000; transform:scale(1,0);}
ul.final li a:after { border-top:1px solid #000; border-bottom:1px solid #000; transform:scale(0,1);}
ul.final li a:before, ul.final li a:after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; transition:opacity 0.35s ease, transform 0.35s ease;}
ul.final li a:hover:before, ul.final li a:hover:after { opacity:1; transform:scale(1);}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: