【发布时间】:2018-03-08 23:42:30
【问题描述】:
这是我的引导网站的当前布局。不幸的是,它不起作用,因为列在 md 大小上完全关闭。
Here 是当前视图。
我的目标是让它们按 md 大小按 2 列分组。所以布局是image+text;new column;image+text;new column;image+text
<div class="row">
<div class="col-lg-4 col-md-6 coko">
<img src="images/malinica.jpg" class="img-responsive img-rounded" alt="Cokol">
<a class="link" href="#"><div class="preko">
<h3 class="text-center">Cakes</h3></div></a>
</div>
<div class="col-lg-4 col-md-6 coko">
<p class="text-center">In 1995, <a href="index.html">The Rolling Pin</a>
opened its first location on a quiet street corner in the heart of
Munich. From its inception, The Rolling Pin has been cherished for its
classic Germany baked goods, vintage decor and warm, invitig atmosphere.
</p>
</div>
<div class="col-lg-4 coko col-md-6">
<img src="images/cupcake.jpg" class="img-responsive img-rounded" alt="Coko">
<a class="link" href="#"><div class="preko">
<h3 class="text-center">Muffins</h3>
</div></a>
</div>
</div>
<div class="row">
<div class="col-lg-4 coko col-md-6">
<h3 class="text-center">We stand for organic</h3>
<p class="text-center">The Rolling Pin has a whole line of organic
desserts and drinks that prove that eating organic can taste just as
delicious.</p>
</div>
<div class="col-lg-4 col-md-6 coko">
<img src="images/kafa.jpg" class="img-responsive img-rounded" alt="Coko">
<a class="link" href="#"><div class="preko">
<h3 class="text-center">Drinks</h3>
</div></a>
</div>
<div class="col-lg-4 col-md-6 coko">
<h3 class="text-center">Pet friendly</h3>
<p>If you have a dog or cat, this is the right place for
you. Except our place, we offer you a special menu for your pet.</p>
</div>
</div>
【问题讨论】:
标签: html css twitter-bootstrap-3 responsive-design responsive