【发布时间】:2015-03-28 21:10:44
【问题描述】:
我目前正在使用引导网格系统并遇到以下问题:
当 > 平板电脑时,我得到了堆叠成 4 列的组件。 当
<div class="col-xs-6 col-md-3">
<p><img src="http://www.photoshopbuzz.com/wp-content/uploads/2011/11/red-stitch-icon-122-bebo.png" alt="" title="" class="easy-icon" /></p>
<div class="iconname">Test1</div>
<div class="text align-left icondescription">Sit amet, consetetur adipscing elitr, sed diam non umy eirmod tempor invidunt.</div>
<div class="align-left"><a href="product.html" class="product-button"><span class="arrow">></span> ABCDE TEST1 PRODUCTS</a></div>
</div>
这很好用,但是在 440px 和 485px 宽度之间,与: > ABCDE TEST1 PRODUCTS 的链接会出现中断行,因为没有空间了。它会一直发生,直到带有 > ABCDE TES PRODUCTS 的第二个链接(该标签的字符较少)中断。
现在我尝试设置“white-space: nowrap;”在链接上,但它看起来不太好
谁能帮帮我?
【问题讨论】:
-
@kyuu y cant you just make
col-sm-12after 485px width
标签: css twitter-bootstrap grid line-breaks dynamic-columns