Combine-layout: Example A
Using Zurb Foundation without combine-layout
by phloe
HTML
<link rel="stylesheet" href="http://cdn.foundation5.zurb.com/foundation.css">
<div class="header">
<h1>Combine-layout: Example A</h1><h2><small>using Zurb Foundation without combine-layout</small></h2>
</div>
<ol class="row">
<li class="medium-6 columns">
<div class="panel">
<h1>Story 1</h1>
<p>This page shows how the layout of a list of 7 ordered stories fails with blocks of different height (which would be unavoidable in responsive designs).</p>
<p>Note how "Story 4" gets caught in the corner created by "Story 2" and the shorter "Story 3" at some viewport sizes.</p>
<p><a class="button radius" href="#">Read more</a></p>
</div>
</li>
<li class="small-6 medium-3 large-2 columns">
<div class="item">
<h4>Story 2</h4>
<p>Integer dui massa, pellentesque non hendrerit viverra, imperdiet a diam. Nam sit amet blandit diam.</p>
<p><a href="#" role="button">Read more</a></p>
</div>
</li>
<li class="small-6 medium-3 large-2 columns">
<div class="item">
<h4>Story 3</h4>
<p>Donec sit amet convallis urna.</p>
<p><a href="#" role="button">Read more</a></p>
</div>
</li>
<li class="small-6 medium-3 large-2 columns">
<div class="item">
<h4>Story 4</h4>
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
<p><a href="#" role="button">Read more</a></p>
</div>
</li>
<li class="small-6 medium-3 large-2 columns">
<div class="item">
<h4>Story 5</h4>
<p>Fusce tempor, nisi id tincidunt rhoncus, massa diam ornare nisl, id imperdiet nunc nisi a magna.</p>
<p><a href="#" role="button">Read more</a></p>
</div>
</li>
<li class="small-6 medium-3 large-2 columns">
<div...
CSS
ol.row {
list-style-type: none;
padding: 0;
}
ol.row p {
font-size: 0.875rem;
}
.header {
margin: 20px 0;
padding: 0 0.9375rem;
border-bottom: 1px solid #ddd;
}
.header h1, .header h2 {
margin: 0 auto;
max-width: 60.625rem;
}
.panel {
margin-bottom: 0;
}
.item {
background-color: #F8F8F8;
padding: 10px;
}
.row > * {
margin-bottom: 20px;
}