col offset in bootstrap
Bootstrap col offset in Bootstrap
In Bootstrap, the col-offset
class is used to create empty, non-responsive columns to the left of a column. It is used to offset the grid column to the right. The col-offset
class is used in conjunction with the col
class to create the desired layout.
Example:
<div class="row">
<div class="col-md-4 col-offset-md-2">Column 1</div>
<div class="col-md-4">Column 2</div>
</div>
In this example, the first column is offset by 2 columns to the right.
[[SOURCE 1]]