0
我在自舉上訂購sm和xs大的colums時遇到問題。我想改變從 「1」 訂貨, 「2」, 「3」 爲 「1」, 「3」, 「2」 SM和xs決議:Bootstrap - 如何更改顯示列的順序
http://imageshack.com/a/img923/8600/DF8LGA.png
我試圖設置col-xs-push-12到「2」列和col-xs-push-12到「3」列,但它不起作用。請幫幫我。
這裏是我的文件: http://www.speedyshare.com/6B6Fv/public-html.rar
和代碼:
<div class="header-bot">
<div class="container">
<div class="row">
<div class="col-sm-2">
<a class="logo-1 hidden-sm hidden-xs" href="index.html">
<img src="img/logo-md.png" alt="Logo"/>
</a>
<a class="visible-sm" href="index.html">
<img src="img/logo-sm.png" alt="Logo"/>
</a>
<a class="visible-xs" href="index.html">
<img src="img/logo-xs.png" alt="Logo"/>
</a>
</div>
<div class="col-md-7 col-sm-12 col-xs-push-12">
<nav class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="hidden-xs icon-bar"></span>
<span class="hidden-xs icon-bar"></span>
<span class="hidden-xs icon-bar"></span>
<span class="visible-xs glyphicon glyphicon-menu-hamburger"></span>
</button>
<p class="hidden-lg hidden-md">Menu</p>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="ul-main nav navbar-nav navbar-right">
<li><a href="#">new</a></li>
<li><a href="#">designers</a></li>
<li><a href="#">women</a></li>
<li><a href="#">men</a></li>
<li><a href="#">clearence</a></li>
</ul>
</div>
</nav>
</div>
<div class="header-user col-md-3 col-sm-4 col-xs-pull-12">
<div class="cart hidden-xs">
<p>Your cart</p>
</div>
<div class="basket">
<p>0 Items | $ 0</p>
</div>
</div>
</div>
</div>
</div>
它的工作原理。非常感謝! – Decol