Classes for using Cirrus' column system powered by Flexbox. By default, 12 columns are created. However, this can be modified to any number you'd like by modifying asingle variable and rebuilding the project.
Also check out Grid for an alternate way to lay out elements on the page.
Every flexbox layout begins with a row. Every row contains columns represented with the col-* class, where the '*' represents any number from 1 through 12 inclusive.
To get a better idea of how these breakpoints work, take a look at the example below by resizing your browser window.
col-xs-3
col-xs-3
col-xs-3
col-sm-3
col-sm-3
col-sm-3
col-md-3 / col-3
col-md-3 / col-3
col-md-3 / col-3
col-lg-3
col-lg-3
col-lg-3
col-xl-3
col-xl-3
col-xl-3
Prevent Stacking
To prevent the default stacking behavior, we can use the col-xs-* class on the column, where '*' indicates any number from 1 to 12 (or however many columns you configured your Cirrus build with).
Instead of using empty columns to create offsets for columns, the offset-* class when when applied on the col-* will offset the column to the right depending on the value of '*'. The value of '*' uses values from 1 through 12 inclusive.
In other words, a column with col-5 offset-3 is offset from the left by the same width of a col-3.
For less specific spacing, you can use offset-right to push the column to the left, offset-center to push the column to the center, and offset-left to push the column to the right.