Simple Flexbox Grid
Simple Flexbox Grid
Simple Flexbox Grid was created to help layout small chunks of content more efficiently because vertical alignment, equal heights, and auto fitting content in CSS is incredibly time consuming. This grid was designed to cover some specific cases not covered by bootstrap 3's grid. If you wish to use bootstrap 3's grid inside Simple Flexbox Grid, it only reliably works with col-xs-(# of columns) in its current state.
Use
flex-container
to define the container for your grid, any elements that are direct children are now part of your grid. By default, each item will only be as wide as its content.
Stacking Flex Containers
Make
flex-container
stack all its direct descendants at specific screen widths with classes:
flex-container-stacked-xxs
479px and below.flex-container-stacked-xs
767px and below.flex-container-stacked-sm
991px and below.flex-container-stacked-md
1199px and below.flex-container-stacked-lg
1200px and above.flex-container-stacked-xs-only
between 480px and 767px.flex-container-stacked-sm-only
between 768px and 991px.flex-container-stacked-md-only
between 992px and 1199px.
Force Flex Items to Break into New Lines
Force a direct descendant of
flex-container
to break to a new line with classes:
flex-item-break-xxs
479px and below.flex-item-break-xs
767px and below.flex-item-break-sm
991px and below.flex-item-break-md
1199px and below.flex-item-break-lg
1200px and above.flex-item-break-xs-only
between 480px and 767px.flex-item-break-sm-only
between 768px and 991px.flex-item-break-md-only
between 992px and 1199px.