在几乎从 1020px 开始的某些分辨率下,我使用偏移量居中的引导 col 无法正常工作。如何解决此问题..
<section id="content" class="m-t-lg" style="margin-top:100px;">
<a class="nav-brand" href="#">My Home page</a>
<div class="row m-n">
<div class="col-md-6 col-md-offset-3 m-t">
<form class="m-t-lg" role="search" >
<div class="input-group">
<input class="form-control input-lg no-border bg-dark" type="text" placeholder="Search">
<span class="input-group-btn">
<button class="btn btn-lg btn-success" type="submit"> <i class="icon-search"></i> </button>
</span> </div>
</form>
<center>
<section class="panel-body">
<div class="row m-n m-t"><h4 align="center">Heading1</h4>
<ul class="pull-left">
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img" class="img-responsive"></a> </li>
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img" class="img-responsive"></a> </li>
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img" class="img-responsive"></a> </li>
</ul>
</div>
</section>
<section class="panel-body">
<h4 align="center">Heading2</h4>
<ul "pull-left">
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img"></a> </li>
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img"></a> </li>
<li class="list-inline pull-left m-r-sm"> <a href="#"><img src="images/img_2.png" alt="img"></a> </li>
</ul>
</section>
</div>
</div>
</section>