Full documentation about styles in flexboxgrid
Name | Type | Default | Required | Description |
---|---|---|---|---|
xsAuto | boolean | false | ||
smAuto | boolean | false | ||
mdAuto | boolean | false | ||
lgAuto | boolean | false | ||
xsOffset | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
smOffset | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
mdOffset | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
lgOffset | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
xs | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
sm | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
md | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
lg | number | string | Any value of 1,2,3,4,5,6,7,8,9,10,11,12 | ||
xsFirst | boolean | false | ||
smFirst | boolean | false | ||
mdFirst | boolean | false | ||
lgFirst | boolean | false | ||
xsLast | boolean | false | ||
smLast | boolean | false | ||
mdLast | boolean | false | ||
lgLast | boolean | false | ||
children | any |
Name | Type | Default | Required | Description |
---|---|---|---|---|
fluid | boolean | false | ||
children | any |
Name | Type | Default | Required | Description |
---|---|---|---|---|
xsStart | boolean | false | Align elements to the Start of a column only at xs viewport width 2 | |
smStart | boolean | false | Align elements to the Start of a column only at sm viewport width | |
mdStart | boolean | false | Align elements to the Start of a column only at md viewport width | |
lgStart | boolean | false | Align elements to the Start of a column only at lg viewport width | |
xsCenter | boolean | false | Align elements to the Center of a column only at xs viewport width | |
smCenter | boolean | false | Align elements to the Center of a column only at sm viewport width | |
mdCenter | boolean | false | Align elements to the Center of a column only at md viewport width | |
lgCenter | boolean | false | Align elements to the Center of a column only at lg viewport width | |
xsEnd | boolean | false | Align elements to the End of a column only at xs viewport width | |
smEnd | boolean | false | Align elements to the End of a column only at sm viewport width | |
mdEnd | boolean | false | Align elements to the End of a column only at md viewport width | |
lgEnd | boolean | false | Align elements to the End of a column only at lg viewport width | |
xsTop | boolean | false | Align elements to the Top of a column only at xs viewport width | |
smTop | boolean | false | Align elements to the Top of a column only sm xs viewport width | |
mdTop | boolean | false | Align elements to the Top of a column only md xs viewport width | |
lgTop | boolean | false | Align elements to the Top of a column only at lg viewport width | |
xsMiddle | boolean | false | Align elements to the Middle of a column only at xs viewport width | |
smMiddle | boolean | false | Align elements to the Middle of a column only at sm viewport width | |
mdMiddle | boolean | false | Align elements to the Middle of a column only at md viewport width | |
lgMiddle | boolean | false | Align elements to the Middle of a column only at lg viewport width | |
xsBottom | boolean | false | Align elements to the Bottom of a column only at xs viewport width | |
smBottom | boolean | false | Align elements to the Bottom of a column only at sm viewport width | |
mdBottom | boolean | false | Align elements to the Bottom of a column only at md viewport width | |
lgBottom | boolean | false | Align elements to the Bottom of a column only at lg viewport width | |
xsAround | boolean | false | Align elements to the Around of a column only at xs viewport width | |
smAround | boolean | false | Align elements to the Around of a column only at sm viewport width | |
mdAround | boolean | false | Align elements to the Around of a column only at md viewport width | |
lgAround | boolean | false | Align elements to the Around of a column only at lg viewport width | |
xsBetween | boolean | false | Align elements to the Between of a column only at xs viewport width | |
smBetween | boolean | false | Align elements to the Between of a column only at sm viewport width | |
mdBetween | boolean | false | Align elements to the Between of a column only at md viewport width | |
lgBetween | boolean | false | Align elements to the Between of a column only at lg viewport width | |
reverse | boolean | false | Align elements reversing of a column | |
children | any | Any component that you want |
Name | Type | Default | Required | Description |
---|---|---|---|---|
margin | number | 0 | ||
padding | number | 0 | ||
paddingTop | number | |||
paddingBottom | number | |||
paddingLeft | number | |||
paddingRight | number | |||
marginTop | number | |||
marginBottom | number | |||
marginLeft | number | |||
marginRight | number | |||
px | boolean | true | ||
rem | boolean | false | ||
className | string | |||
children | any |
* Thank you to kristoferjoseph for sharing flexboxgrid library.
* And thank you to coryhouse for sharing his course of how do this kind of projects.