Basic layoutCreate basic grid layout using columns.
col-xs-12
col-xs-6
col-xs-6
col-xs-4
col-xs-4
col-xs-4
col-xs-3
col-xs-3
col-xs-3
col-xs-3
col-xs-2
col-xs-2
col-xs-2
col-xs-2
col-xs-2
col-xs-2
Example:
  
<div class="row grid-center">
  <div class="col-xs-12">
    <div class="grid-example-block "><span>col-xs-12</span></div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-6">
    <div class="grid-example-block "><span>col-xs-6</span></div>
  </div>
  <div class="col-xs-6">
    <div class="grid-example-block "><span>col-xs-6</span></div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-4">
    <div class="grid-example-block "><span>col-xs-4</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block "><span>col-xs-4</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block "><span>col-xs-4</span></div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-3">
    <div class="grid-example-block "><span>col-xs-3</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block "><span>col-xs-3</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block "><span>col-xs-3</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block "><span>col-xs-3</span></div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-2">
    <div class="grid-example-block "><span>col-xs-2</span></div>
  </div>
</div>
  

Responsive Layout

Taking example by Bootstrap's responsive design, 3 breakpoints are preset: xs, sm, md
col-xs-6
col-sm-8
col-md-4
col-xs-6
col-sm-4
col-md-8
col-xs-3
col-sm-7
col-xs-9
col-sm-5
col-xs-2
col-sm-4
col-xs-4
col-sm-4
col-xs-6
col-sm-4
col-xs-9
col-sm-4
col-xs-3
col-sm-8
Example:
  
<div class="row grid-center">
  <div class="col-xs-6 col-sm-8 col-md-4">
    <div class="grid-example-block ">
      <span>
        col-xs-6   col-sm-8   col-md-4
      </span>
    </div>
  </div>
  <div class="col-xs-6 col-sm-4 col-md-8">
    <div class="grid-example-block ">
      <span>
        col-xs-6   col-sm-4   col-md-8
      </span>
    </div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-3 col-sm-7">
    <div class="grid-example-block ">
      <span>
        col-xs-3   col-sm-7
      </span>
    </div>
  </div>
  <div class="col-xs-9 col-sm-5">
    <div class="grid-example-block ">
      <span>
        col-xs-9   col-sm-5
      </span>
    </div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-2 col-sm-4">
    <div class="grid-example-block ">
      <span>
        col-xs-2   col-sm-4
      </span>
    </div>
  </div>
  <div class="col-xs-4 col-sm-4">
    <div class="grid-example-block ">
      <span>
        col-xs-4   col-sm-4
      </span>
    </div>
  </div>
  <div class="col-xs-6 col-sm-4">
    <div class="grid-example-block ">
      <span>
        col-xs-6   col-sm-4
      </span>
    </div>
  </div>
</div>
<div class="row grid-center">
  <div class="col-xs-9 col-sm-4">
    <div class="grid-example-block ">
      <span>
        col-xs-9   col-sm-4
      </span
    ></div>
  </div>
  <div class="col-xs-3 col-sm-8">
    <div class="grid-example-block ">
      <span>
        col-xs-3   col-sm-8
      </span>
    </div>
  </div>
</div>
  
AlignmentUse the flex layout to make flexible alignment of columns.
grid-center
col-xs-2
col-xs-3
col-xs-3
grid-start
col-xs-4
Add class .grid-center for this col
(For centering col content)
.col-xs-4
Without class .grid-center
(col have parent class .grid-start)
grid-end
.col-xs-6
.col-xs-4
grid-reverse + grid-center
col-xs-4
This is block #1
col-xs-4
This is block #2
grid-between
col-xs-4
col-xs-4
grid-around
col-xs-3
col-xs-3
Example:
  
<div class="center"><span class="ui-text-small">grid-center</span></div>
<div class="row grid-center">
  <div class="col-xs-2">
    <div class="grid-example-block"><span>col-xs-2</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block"><span>col-xs-3</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block"><span>col-xs-3</span></div>
  </div>
</div>

<div class="center"><span class="ui-text-small">grid-start</span></div>
<div class="row grid-start">
  <div class="col-xs-4 grid-center">
    <div class="grid-example-block"><span>col-xs-4<br></span><span class="ui-text-smaller" style="color: #333;">Add class .grid-center for this col<br>(For centering col content)</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block"><span>.col-xs-4<br></span><span class="ui-text-smaller" style="color: #333;">Without class .grid-center<br>(col have parent class .grid-start)</span></div>
  </div>
</div>

<div class="center"><span class="ui-text-small">grid-end</span></div>
<div class="row grid-end">
  <div class="col-xs-6">
    <div class="grid-example-block"><span>.col-xs-6</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block"><span>.col-xs-4</span></div>
  </div>
</div>

<div class="center"><span class="ui-text-small">grid-reverse + grid-center</span></div>
<div class="row grid-reverse grid-center">
  <div class="col-xs-4">
    <div class="grid-example-block"><span>col-xs-4<br></span><span class="ui-text-smaller" style="color: #333;">This is block #1</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block"><span>col-xs-4<br></span><span class="ui-text-smaller" style="color: #333;">This is block #2</span></div>
  </div>
</div>

<div class="center"><span class="ui-text-small">grid-between</span></div>
<div class="row grid-between">
  <div class="col-xs-4">
    <div class="grid-example-block"><span>col-xs-4</span></div>
  </div>
  <div class="col-xs-4">
    <div class="grid-example-block"><span>col-xs-4</span></div>
  </div>
</div>

<div class="center"><span class="ui-text-small">grid-around</span></div>
<div class="row grid-reverse grid-around">
  <div class="col-xs-3">
    <div class="grid-example-block"><span>col-xs-3</span></div>
  </div>
  <div class="col-xs-3">
    <div class="grid-example-block"><span>col-xs-3</span></div>
  </div>
  
All attributesUsage with row and col
Name class
start grid-start
center grid-center
end grid-end
reverse gird-reverse
top grid-top
middle grid-middle
bottom grid-bottom
around grid-around
between grid-between