Bootstrap css, how to make always visible navbar-toggle?

前端 未结 6 2281
甜味超标
甜味超标 2021-02-13 09:07

I\'d like to add one of those buttons that are shown when on mobile device in order to open the collapsed menu in the navbar, but haven\'t been able so far, here\'s the less cod

6条回答
  •  鱼传尺愫
    2021-02-13 09:54

    I'm not sure if you want to add another one or is it enough to change the existing one. I case, you want to change the existing one, on a default/clean bootstrap install, this show do it:

    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse.collapse {
        display: none !important;
    }
    

提交回复
热议问题