我在bootstrap中有这样的边栏
JSFIDDLE链接:http://jsfiddle.net/akcncxqb/
<div class="portfolio-home">
<div class="row-offcanvas row-offcanvas-left">
<div id="sidebar" class="sidebar-offcanvas">
<div class="portfolio-menu-content">
<ul class="nav">
<li><center><h1><img src="/small-logo.png" height="30" width="40px"></h1>FexFree</center></li>
<li><center><h1><i class="fa fa-home fa-5"></i></h1>Home</center></li>
<li>
<center>
<h1>
<i class="fa fa-briefcase fa-5"></i>
</h1>Projects
</center>
<ul class="sub-menu">
<li><center><h1><i class="fa fa-calendar fa-5"></i></h1>Gallery</center></li>
<li><center><h1><i class="fa fa-envelope-o fa-5"></i></h1>Contact</center></li>
</ul>
</li>
<li><center><h1><i class="fa fa-calendar fa-5"></i></h1>Gallery</center></li>
<li><center><h1><i class="fa fa-envelope-o fa-5"></i></h1>Contact</center></li>
</ul>
</div>
</div>
</div><!--/row-offcanvas -->
</div>
在悬停的产品,我想显示子菜单的权利,以侧边栏,而不是下面的菜单,我想子菜单的右侧,侧边栏菜单项项目。
1条答案
按热度按时间zte4gxcn1#
试试下面代码:http://jsfiddle.net/akcncxqb/1/