Template:Flexbox
Jump to navigation
Jump to search
Template documentation
|
---|
View or edit this documentation. (About template documentation)
Portions of the template sample may not be visible without values provided. |
A template adaptation of the CSS flexbox. Best guide on it you ever find: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | no description | Content | required |
Horizontal align (justify-content) | justify content | How items should align horizontally.
| String | suggested |
Row items vertical align (align-items) | align items | How items of a row should align vertically.
| String | suggested |
Rows vertical align (align-content) | align content | How rows (not individual items) should align vertically.
| String | suggested |
Direction (flex-direction) | flex direction | In what directions should items go.
| Unknown | suggested |
Gap | gap | The spacing between every item. Column/row gaps can be overriden by the Column/Row Gap parameters.
| String | suggested |
Column Gap (column-gap) | column gap | Vertical spacing between the items (coumns). Overrides the Gap parameter (only for the column gap). | String | suggested |
Row Gap (row-gap) | row gap | Spacing between the rows (not individual items). Overrides the Gap parameter (only for the row gap). | String | suggested |
Wrap (flex-wrap) | flex wrap | How items should wrap.
| Unknown | suggested |