0
내 코드 옆에 http://jsfiddle.net/p796z/1/플로트 요소/아래 서로
HTML
<div class="box1">
<p>Content Content</p>
<p>Content Content</p>
<p>Content Content</p>
</div>
<div class="box2">
<p>Content Content</p>
</div>
<div class="box2">
<p>Content Content Content Content Content Content</p>
</div>
<div class="box2">
<p>Content Content</p>
</div>
CSS가 세 번째 노란 위의 예에서 볼 수 있듯이
.box1 { background:red; float:left; width:50% }
.box2 { background:yellow; float:left; width:25%; }
상자는 다른 상자 아래에 있지만 첫 번째 노란색 상자 사이에 빈 공간을 남겨 둡니다. 왜냐하면 초 ond 노란색 상자가 더 큰 높이를 가지고 있습니다. 제 질문은 두 번째 노란색 상자의 높이가 무엇이든 관계없이 첫 번째 노란색 상자 다음에 세 번째 노란색 상자가 오도록 만드는 방법입니다.
http://jsfiddle.net/LcM7A/
당신은 수레와 함께이 작업을 수행 할 수 없습니다. ** masonry.js를 살펴보십시오 ** –Isotope.js do some – chris
Isotope.js do some do – chris