Border mixins are used to add (or remove) simple border styles.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Flexbox is the parent most property mixin. It's the container that wraps flex children.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
$unit |
string |
(optional) Example: 8px |
Add gutters to your flexbox layout using this utility. In order for the gutters
to work correctly, the below flexbox-inner-gutters
mixin must be added to
flex children in the flexbox.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
$unit |
string |
(optional) Example: 8px |
If you're using the above flexbox-gutter
mixin, you must also include this
flexbox-inner-gutters
mixin to all of the flex children in order for the
gutters to work as intended.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, vertically, flex children to the top of the flex container.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, vertically, flex children to the center of the flex container.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, vertically, flex children to the bottom of the flex container.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, horizontally, flex children to the "start" of the flex container, which is typically the left. On right-to-left websites, that would be the right.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, horizontally, the flex children to the "end" of the flex container, which is typically the right. On right-to-left websites, that would be the left.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, horizontally, the flex children so the space out evenly apart from each other. The outer most flex children will push up as far against the flex container's edges as they can go.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, horizontally, the flex children into the center of the flex container.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Align, horizontally, flex children so they space out evenly apart from each other, including the space between the first, last and edges of the flex container.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Reverse the horizontal order of the flex children.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Allow a flex child to grow and shrink as needed. This means the flex child
does so according to the following setting: flex: 1 1 auto
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Ensure the flex children do NOT grow or shrink. This means the flex child
behaves according to th following setting: flex: 0 0 auto
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Set the flex child's order to 1
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Set the flex child's order to 2
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Set the flex child's order to 3
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Set the flex child's order to 4
.
Parameters | Type | Example |
---|---|---|
$important |
boolean |
(optional) Default: false |
Set the flex child's order to 5
.