1
我正在處理5列,但裏面的元素被破壞。我試圖解決這個問題,但我沒有運氣。CSS中的元素列破壞
CSS:
.test-wrap {
-webkit-columns: 5;
-moz-columns: 5;
columns: ;
}
.test-wrap .img {
display: block;
margin: 0 0 0.75em;
}
HTML:
<div class="test-wrap">
<div class="iefsv1"><img src="#" class="home-img"/>
<h3><strong style="line-height: 2.50em;">1. Shop </strong></h3>
Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum
<br />
<a class="buttonv3" href="#">Go to</a>
</div>
<div class="iefsarrowv1"><img src="#"/></div>
<div class="iefsarrowv1"><img src="#"/></div>
<div class="iefsv2"><img src="#" class="home-img"/>
<h3><strong style="line-height: 2.50em;">2. Downpayment</strong></h3>
Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum
<br />
<a class="buttonv3" href="#">Go to</a>
</div>
<div class="iefsarrowv2"><img src="#"/></div>
<div class="iefsv3"><img src="#" class="home-img"/>
<h3><strong style="line-height: 2.50em;">3. Spread</strong></h3>
Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum Loppersum
<br />
<a class="buttonv3" href="#" target="_blank">Go to</a>
</div>
</div>
和裁剪消失。你能附上正確結果的圖像嗎?所以我們可以知道確切的問題。謝謝! – shadeed9