Autofill grid that creates 1-, 2-, 3-, or 4-column grids depending on the amount of available space.
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/objects/grids.scss#L10
<!-- grid -->
<div class="o-grid">
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/objects/grids.scss#L201
<!-- two-up grid -->
<div class="o-grid o-grid--two-up">
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/objects/grids.scss#L225
<!-- fixed grid -->
<div class="o-grid o-grid--fixed">
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/objects/grids.scss#L269
<!-- fixed two-up grid -->
<div class="o-grid o-grid--fixed o-grid--two-up">
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
<div class="o-grid__item">Grid item</div>
</div>