Description Usage Arguments Source Examples
The UI grid is based off Foundation's XY-Grid. This allows the grid to either be set by columns or rows.
1 2 |
... |
Elements to include within the grid |
direction |
Which direction should the elements go, can either be |
margin, padding |
Which direction |
n_cells |
Only works when working with columns. The number of cells in each column. The default will be that a cell takes up the full width. |
https://foundation.zurb.com/sites/docs/xy-grid.html
1 2 3 4 5 6 7 8 | fd_container(
fd_grid(
n_cells = 3,
fd_cell("Cell 1"),
fd_cell("Cell 2"),
fd_cell("Cell 3")
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.