Fire UI Getting Started
Introduction Download Customize
Layout
Container Grid
Components
Accordion Box Buttons Code Color and theme Form Modal Navigation bar Slideshow Spacing Table Tabs Tooltip

Grid system

Start using our powerful, mobile-first, twelve columns grid system<./p>

To use only Fire UI grid system feature, copy and paste this stylesheet link into your head element to load Fire UI grid system CSS.

<link rel="stylesheet" href="https://unpkg.com/@fire-ui/fire-ui@0.1.1/src/feature/Grid%20System/grid_system.css">

Example

One of four columns
One of four columns
One of four columns
One of four columns
<div class="container">
    <div class="row">
        <div class="col-ex-3">One of four columns</div>
        <div class="col-ex-3">One of four columns</div>
        <div class="col-ex-3">One of four columns</div>
        <div class="col-ex-3">One of four columns</div>
    </div>
</div>

The above example creates four equal-width columns accross all devices and viewport using our predefined grid classes. Those columns are centered in the page with the parent container class

Our Grid System

Fire UI's grid system comes with row, col- and col-ex- classes. This is how it's work:

Example of combinations

col-ex-8
col-ex-4
col-ex-4
col-ex-6
col-ex-4
col-3
col-3
col-3
col-3