简体   繁体   English

使用Twitter Bootstrap 3的自适应导航栏

[英]Responsive Navigation Bar using Twitter Bootstrap 3

I'm using twitter bootstrap 3 and trying to create a responsive navigation bar. 我正在使用twitter bootstrap 3并尝试创建一个响应式导航栏。

But the problem is when I re-size the window the width of the icons are getting to 100%. 但是问题是当我重新调整窗口大小时,图标的宽度已达到100%。

Here's the FIDDLE 这是FIDDLE

Someone help me in getting this fixed. 有人帮助我解决此问题。

I want the width to the same when it's in the desktop. 我希望桌面上的宽度相同。

try this: 尝试这个:

<ul class="nav navbar-nav navbar-right pull-right row">
    <li class="notifications-li dropdown col-xs-4">
    </li><!-- notifications -->

    <li class="tasks-li dropdown col-xs-4">
    </li><!-- tasks -->

    <li class="messages-li dropdown col-xs-4">
    </li><!-- messages -->
</ul>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM