Foundation Block Grid
Block grid is used to evenly divide page content: for example, to display four images in a row, the width needs to be evenly divided regardless of the screen.
You can use the Add to the element .small|medium|large-block-grid-num class to create a block grid.num used to specify the number of divisions:
Example
<
ul
class=
"small-block-grid-3"
<
li
<
img
src=
"newyork.jpg"
alt="New York"
<
/li
<
li
<
img
src=
"paris.jpg"
alt=
"Paris"
<
/li
<
li
<
img
src=
"sanfran.jpg"
alt="San Francisco"
<
/li
<
/ulTry it »
Another example, using paragraphs:
Example
<
ul
class=
"small-block-grid-3"
<
li
<
pJust a Simple Example Text...
<
/p
<
/li
<
li
<
pJust a Simple Example Text...
<
/p
<
/li
<
li
<
pJust a Simple Example Text...
<
/p
<
/li
<
/ulTry it »
Displaying Different Counts on Different Screen Sizes
By adding multiple block grid classes, you can set different numbers of blocks to display on different screen sizes:
Example
<
ul
class="small-block-grid-2 medium-block-grid-3 large-block-grid-4"
<
li
<
img
src=
"newyork.jpg"
alt="New York"
<
/li
<
li
<
img
src=
"paris.jpg"
alt=
"Paris"
<
/li
<
li
<
img
src=
"sanfran.jpg"
alt="San Francisco"
<
/li
<
li
<
img
src=
"newyork.jpg"
alt="New York"
<
/li
<
/ulTry it »