Below we have collected some commonly used grid examples.
* * *
## Three Equal Columns
This example demonstrates how to create three equal columns (33.3%/33.3%/33.3%), displaying three columns on medium and large devices, and automatically stacking on small devices:
### Example
[Try it Β»](#)
* * *
## Three Unequal Columns
This example demonstrates how to create three unequal columns (25%/50%/25%), displaying three columns on medium and large devices, and automatically stacking on small devices:
### Example
[Try it Β»](#)
* * *
## Two Equal Columns
This example demonstrates how to create two equal columns (50%/50%), where the column ratio remains 50%/50% on small, medium, and large devices:
### Example
[Try it Β»](#)
* * *
## Two Unequal Columns
This example demonstrates how to create two unequal columns (33.3%/66.6%), where the column ratio remains 33.3%/66.6% on small, medium, and large devices:
### Example
[Try it Β»](#)
* * *
## Change Column Order
Use the `.small|medium|large-push-*` and `.small|medium|large-pull-*` classes to change the order of columns:
### Example
[Try it Β»](#)
* * *
## Nested Columns
You can use nested grids (columns within columns):
### Example
.small-8
.small-8 Nested
.small-8 Nested Again
.small-4
.small-4
.small-4
[Try it Β»](#)
* * *
## Mixed: Mobile and Desktop
The Foundation grid system has three columns: `.small-*` (mobile), `.medium-*` (tablet), and `.large-*` (desktop). These classes can be dynamically combined to make the layout more flexible:
**Tip:** Each class scales up, so if you want small and large screen devices to have the same width, you can specify `.small-*`.
### Example
.small-6 .large-8
.small-6 .large-4
.small-2 .large-2
.small-4 .large-2
.small-6 .large-2
.small-3 .large-5
.small-9 .large-7
[Try it Β»](#)
* * *
## Mixed: Mobile, Tablet and Desktop
### Example
.medium-6 .large-8
.medium-6 .large-4
.small-4 .medium-3 .large-7
.small-4 .medium-6 .large-3
.small-4 .medium-3 .large-2
[Try it Β»](#)
* * *
## Centered Columns
Columns can be centered using the `.small-centered` class. Medium and large devices can inherit the centering from small devices, but you need to set the centering class `.large-centered` on large devices.
### Example
small-8 small-centered large-uncentered
[Try it Β»](#)
* * *
## Column Offsets
You can use the `.large-offset-*` (or `.small-offset-*`) classes to shift columns to the right. The number of columns for the left margin is controlled by the * sign:
### Example
[Try it Β»](#)
* * *
## Incomplete Columns
If the sum of the columns in a row is not 12, Foundation will automatically float the last column to the right and use blank space to fill the remaining columns.
The optional `.end` class is used to set the last column element to float to the left:
### Example
.medium-3
.medium-3
.medium-3
.medium-3
.medium-3
.medium-3 .end
[Try it Β»](