使水平导航栏看起来垂直引导

时间:2018-06-28 12:02:30

标签: twitter-bootstrap-3

此代码显示水平导航栏。我想要垂直导航栏。如何使此导航栏看起来垂直?我应该做些什么改变?

<div class="navbar navbar-inverse navbar-static-top">
    <div class="container">
        <a class="navbar-brand" href="admin.php">Admin Panel</a>
        <button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <div class="collapse navbar-collapse navHeaderCollapse" >
            <ul class="nav navbar-nav navbar-right">
                <li><a href="admin.php">Home</a></li>
                <li><a href="newsfeed.php">News Feed</a></li>
                <li><a href="entries.php">Entries</a></li>
            </ul>
        </div>
    </div>
</div>

0 个答案:

没有答案