Description Usage Arguments Value
Generates all required css for the given css attribute based on the grid rules provided.
1 2 3 4 5 6 7 8 | getAttributeStyle(
attribute,
grid_id,
grid_areas,
css_target,
css_base_value,
css_base_rule
)
|
attribute |
The attribute details to create rules for. |
grid_id |
The id of the grid the rules will affect. |
grid_areas |
The target grid area details. |
css_target |
The equivalent css attribute name. |
css_base_value |
The default css value for the size of one element |
css_base_rule |
Function that returns a valid css value based on the css_base_value and the area details |
A string of value css rules.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.