Add Text Hint to Bootstrap Navbar Toggle Button on Mobile-View

前端 未结 4 501
天涯浪人
天涯浪人 2021-02-04 10:43

Some tests have shown that the \"hamburger\" button for collapsable menus on mobile devices are mysteries to users and I would like to add the word \"Menu\" next to my Bootstrap

4条回答
  •  旧巷少年郎
    2021-02-04 11:12

    Another just css solution:

    .navbar-toggle:before {
        content:"Menu";
        left:-50px;
        top:4px;
        position:absolute;
        width:50px;
    }
    

提交回复
热议问题