Sunday, May 13, 2018

Explain the three equal columns & two unequal columns.

Three Equal Columns

.col-sm-4
.col-sm-4
.col-sm-4
The following example shows how to get a three equal-width columns starting at tablets and scaling to large desktops. On mobile phones or screens that are less than 768px wide, the columns will automatically stack:

Example

<div class="row">
  <div class="col-sm-4">.col-sm-4</div>
  <div class="col-sm-4">.col-sm-4</div>
  <div class="col-sm-4">.col-sm-4</div>
</div>
 

Two Unequal Columns

.col-sm-4
.col-sm-8
The following example shows how to get two various-width columns starting at tablets and scaling to large desktops:

Example

<div class="row">
  <div class="col-sm-4">.col-sm-4</div>
  <div class="col-sm-8">.col-sm-8</div>
</div>
 

No comments:

Post a Comment