1
我的代码设置在我的标记中有四列。但是,当它们响应时,它们会在ipad设备分辨率下缩小到两列,这很好。但是,当浏览器调整大小时,移动视图仍会在每行上显示两列,并挤压所有看起来很糟糕的内容。Twitter bootstrap 4列不能正确调整大小
这里是完整的浏览器屏幕:http://postimg.org/image/jjmr0tukf/
这里是中级屏幕:http://postimg.org/image/5azcliqiv/
(需要固定)在这里是移动屏幕:http://postimg.org/image/60ieuy9cd/
这里是标记:
<div class="container center">
<div class="inside_africa">
<div class="row feature_wrap">
<div class="flexible_products">
Flexible Products
</div>
<div class="col-xs-6 col-sm-3">
<div class="feature">
<img src="../../images/database.svg" id="feature_image" style="height: 100px; width: 100px">
<div class="inside_feature">
<h3>Database Driven</h3>
<p>Our custom web applications are strategically planned out to give you the right model you need for your company.</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="feature">
<img src="../../images/design_paint.svg" id="feature_image" style="height: 100px; width: 100px">
<div class="inside_feature">
<h3>Design</h3>
<p>We provide responsive design that allows your web application to fit any device and with a touch of craft.</p>
</div>
</div>
</div>
<!-- Add the extra clearfix for only the required viewport -->
<div class="clearfix visible-xs-block"></div>
<div class="col-xs-6 col-sm-3">
<div class="feature">
<img src="../../images/development.svg" id="feature_image" style="height: 100px; width: 100px">
<div class="inside_feature">
<h3>Development</h3>
<p>Through each phase we add functionality or bells and whistles to make the best product.</p>
</div>
</div>
</div>
<div class="col-xs-6 col-sm-3">
<div class="feature">
<img src="../../images/dedication.svg" id="feature_image" style="height: 100px; width: 100px">
<div class="inside_feature">
<h3>Dedication</h3>
<p>We do not look at projects but relationships. We are here to serve you and provide you with the best service possible.</p>
</div>
</div>
</div>
</div>
<div class="technology"><img src="../../images/technology.png" id="backdrop"></div>
</div>
</div>
<!--/.container-->
Nabialek嘿,那几乎解决了它。除了全视图外,它只显示两列而不是四列。 – Bobby 2014-10-08 08:38:33
@Bobby我编辑了我的答案 – 2014-10-08 08:43:13
Nabialek谢谢。我认为你有一件事是错误的:你是一个twitter引导专家。 – Bobby 2014-10-08 08:46:44