Grids are defined by using the grid and col-X class where X represents the number of columns and can be 1, 2, 3, 4, 6 or 8.
Examples without inter-cell gaps:
div.grid.col-1>div
div.grid.col-2>div*2
div.grid.col-6>div*6
Inter-cell gaps can also be setup by using the grid-gap-X or col-gap-X classes and replacing the X with the standard size suffixes.
Examples with inter-cell gaps:
grid Defined a grid container
grid-col-1 |
col-1 |
Specifies the column count | grid-col-'.$gridColCount.' | ');
echo('col-'.$gridColCount.' | ');
echo('');
}
?>
grid-gap-xs |
gap-xs |
Specifies the inter-cell gap size | grid-gap-'.$gridGapSize.' | ');
echo('gap-'.$gridGapSize.' | ');
echo('');
}
?>