2015-02-05 100 views

回答

0

是的,您会将设置的导航栏的active位置切换为left:0,以便在页面内容上浮动。

row-offcanvas-left.active .navbar { 
    position: absolute; 
    z-index: 2; 
    left: 0; 
    width:40%; 
    background-color:#eee; 
    border:0 solid #ddd; 
    border-left-width:1px; 
    } 

下面是一个例子:http://www.bootply.com/I9BrKZj1PE