The following CSS Custom Properties can be overwritten inside your project. See README.MD on how to do it.
/* Gutters and padding */
--flexbox-grid-section-margin: 50px;
--flexbox-grid-container-width: 1200px;
--flexbox-grid-container-spacing: 40px;
--flexbox-grid-half-gutter-width: 15px;
--flexbox-grid-half-gutter-width--mobile: 15px;
/* Media Queries (definition has to be outside any kind of blocks - see https://github.com/postcss/postcss-custom-media) */
@custom-media --viewport-ms-min (min-width: 576px);
@custom-media --viewport-sm-min (min-width: 768px);
@custom-media --viewport-md-min (min-width: 992px);
@custom-media --viewport-lg-min (min-width: 1200px);
@custom-media --viewport-xl-min (min-width: 1400px);
These classes can be used to contain your columns and structure your content.
<!-- Sections -->
<div class="grid-section"></div>
<!-- Containers -->
<div class="container"></div>
<div class="container container--fluid"></div>
<!-- Rows-->
<div class="row"></div>
<div class="row row--reverse"></div>
Columns are used to size and align your content. Colums are structured in a grid of 12 spaces per row.
Comes in breakpoints xs, ms, sm, md, lg & xl
.col-xs .col-xs--nogrow
.col-xs .col-xs--nogrow
.col-xs .col-xs--nogrow
.col-xs .col-xs--nogrow
<!-- Sizes -->
<div class="col-xs-1"></div>
<div class="col-xs-2"></div>
<div class="col-xs-3"></div>
<div class="col-xs-4"></div>
<!-- Continues up to 12 -->
<!-- Offset -->
<div class="col-xs-offset-1"></div>
<div class="col-xs-offset-2"></div>
<div class="col-xs-offset-3"></div>
<div class="col-xs-offset-4"></div>
<!-- Continues up to 12 -->
<!-- Auto colums -->
<div class="col-xs"></div>
<div class="col-ms"></div>
<div class="col-sm"></div>
<div class="col-md"></div>
<div class="col-lg"></div>
<div class="col-xl"></div>
<!-- Auto colums - No grow mode -->
<div class="col-xs--no-grow"></div>
<div class="col-ms--no-grow"></div>
<div class="col-sm--no-grow"></div>
<div class="col-md--no-grow"></div>
<div class="col-lg--no-grow"></div>
<div class="col-xl--no-grow"></div>