Flex Grid
Getting Started
// @include foundation-grid;
@include foundation-flex-grid;
…
// @include foundation-float-classes;
@include foundation-flex-classes;$global-flexbox: true;Real life example
Last updated
// @include foundation-grid;
@include foundation-flex-grid;
…
// @include foundation-float-classes;
@include foundation-flex-classes;$global-flexbox: true;Last updated
<div class="row small-up-1 medium-up-2 large-up-3">
<div class="column">1 per row on small</div>
<div class="column">2 per row on medium</div>
<div class="column">3 per row on large</div>
</div>[
{
"name": "The Legend of Zelda",
"support": "Nes"
},
{
"name": "The Legend of Zelda: A Link to the Past",
"support": "Super Nes"
},
{
"name": "The Legend of Zelda: Ocarina of Time",
"support": "Nintendo 64"
},
{
"name": "The Legend of Zelda: Majora's Mask",
"support": "Nintendo 64"
},
{
"name": "The Legend of Zelda: The Wind Waker",
"support": "Nintendo GameCube"
},
{
"name": "The Legend of Zelda: Twilight Princess",
"support": "Nintendo GameCube"
},
{
"name": "The Legend of Zelda: Skyward Sword",
"support": "Wii"
},
{
"name": "The Legend of Zelda: Breath of the Wild",
"support": "Nintendo Switch"
}
]<div class="row small-up-1 medium-up-2 large-up-3">
{{#each games}}
<div class="columns">
<div class="callout">
<span class="label">{{this.support}}</span>
<p>
<strong>{{this.name}}</strong>
</p>
</div>
</div>
{{/each}}
</div><div class="row">
<div class="column small-order-2 medium-order-1">
This column will come second on small, and first on medium and larger.
</div>
<div class="column small-order-1 medium-order-2">
This column will come first on small, and second on medium and larger.
</div>
</div>