我已经写了HTML
下面我正在使用bootstrap 3.3.7,我一直在通过web和调整CSS
和jQuery
塞满了3天现在,我没有找到解决方案。Bootstrap grid not stacking
我无法让网格在移动视图中堆叠。当我对布局进行编码,然后发生了一些未知的事情,我无法修复它。请帮忙。
<div id="idport"> <!--Portfolio-->
<h2 class="mheading">Portfolio</h2>
<div class="row" style="margin:0">
<div class="col-xs-2 thumbnail">
<a href="#" Title="Some website">
<img src="Spacer.png" alt="Some website">
</a>
<p>This is a title</p>
</div>
<div class="col-xs-2 thumbnail">
<a href="#" Title="Some website">
<img src="Spacer.png" alt="Some website">
</a>
<p>This is a title</p>
</div>
<div class="col-xs-2 thumbnail">
<a href="#" Title="Some website">
<img src="Spacer.png" alt="Some website">
</a>
<p>This is a title</p>
</div>
<div class="col-xs-2 thumbnail">
<a href="#" Title="Some website">
<img src="Spacer.png" alt="Some website">
</a>
<p>This is a title</p>
</div>
<div class="col-xs-2 thumbnail">
<a href="#" Title="Some website">
<img src="Spacer.png" alt="Some website">
</a>
<p>This is a title</p>
</div>
</div>
</div> <!--end Portfolio-->