Methods
grid-item-align($horizontalopt, $verticalopt)
Renders properties of a grid item, to define the item's alignment inside the area defined for the item using the grid-item mixin. The usage of this only make sense for grid items.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
$horizontal |
String |
<optional> |
null | "left"/"start", "right"/"end", "middle"/"center" or "full"/"stretch" |
$vertical |
String |
<optional> |
null | "top"/"start", "bottom"/"end", "middle"/"center" or "full"/"stretch" |
Example
grid-item-align('left')
grid-item-align(center, center)
grid-item-align(null, 'full')