我认为我想在引导移动版本的网格中隐藏一列有点棘手。让我们显示示例
<div class="row">
<div class="col-xs-9">
<p class="testimonial-about">"We have managed to received good number of applications through MyJobs in comparison to advertising in the newspaper and would recommend MyJobs to other companies to assist with their recruitment needs"</p>
</div>
<div class="col-xs-3 center-image hidden-xs"><img src="myimage.png"/></div>
</div>
在上面的编码中,我在移动设备查看时隐藏了图像部分。我想要的是我不想要图像部分的间距,即使它被隐藏为增加左侧部分直到右侧。
原文由 PPShein 发布,翻译遵循 CC BY-SA 4.0 许可协议
由于您将第二列隐藏在“xs”中,因此您可以通过将类“col-xs-12”定义为 column1 来使用第一列的全宽。