Use the simple Rocket CSS grid to quickly build applications.
Getting started with the Rocket CSS grid is easy. Follow these simple steps:
.row
wrapper.
.col
column.
Each column will have an equal size regardless of the number of columns.
You can change the size of a column by adding one of these classes to a .col
column
.col-is-one-quarter
.col-is-half
.col-is-three-quarters
By default, columns will naturally wrap based on the viewport and content inside each column. If you'd like to make all columns stacked on different viewports, simply add one of the following classes to a .row
.is-widescreen
.is-desktop
.is-tablet
.is-mobile
Adding one of the above classes to a .row
will make all child .col
columns be stacked on that particular viewport and down.
Resize your browser to see the columns stack on the widescreen class.
Resize your browser to see the columns stack on the desktop class.
Resize your browser to see the columns stack on the tablet class.
Resize your browser to see the columns stack on the mobile class.
As well as using the basic classes for stacking columns, you can also change column sizes and utilise the same responsiveness classes at the same time. Simply add one of the viewport sizes, e.g: desktop
to the end of a particular column size. Example below:
.col-is-three-quarters-widescreen
.col-is-three-quarters-desktop
.col-is-half-tablet
.col-is-half-mobile
Resize your browser to see the columns stack on the widescreen class.