Friday, 22 February 2013 22:58

Columns

Written by
Rate this item
(0 votes)

Live fluid grid example

The default Bootstrap grid system utilizes 12 columns.The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.

Fourth
Fourth
Fourth
Fourth
Seventh
Sixth
Sixth
Twelfth
[columns]
    [column_item col="4"]Fourth [/column_item]
    [column_item col="4"]Fourth [/column_item]
    [column_item col="4"]Fourth [/column_item]
[/columns]
[columns]
    [column_item col="4"]Fourth [/column_item]
    [column_item col="8"]Seventh [/column_item]
[/columns]
[columns]
    [column_item col="6"]Sixth [/column_item]
    [column_item col="6"]Sixth [/column_item]
[/columns]
[columns]
    [column_item col="12"]Twelfth [/column_item]
[/columns]

Fluid offsetting

Operates the same way as the fixed grid system offsetting: add offset="1->12" to any column to offset by that many columns.

Fifth
Sixth offset 1
Sixth
Fifth offset 1
Seventh
Fourth offset 1
[columns]
    [column_item col="5"] Fifth [/column_item]
    [column_item col="6" offset="1"] Sixth offset 1 [/column_item]
[/columns]
[columns]
    [column_item col="6"] Sixth [/column_item]
    [column_item col="5" offset="1"] Fifth offset 1 [/column_item]
[/columns]
[columns]
    [column_item col="7"] Seventh [/column_item]
    [column_item col="4" offset="1"] Fourth offset 1 [/column_item]
[/columns]
Read 10688 times Last modified on Monday, 01 April 2013 07:10

More in this category: « Dropcap Button »

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

K2 Content

  •  
  •  
  •  
  •  
  •  

Forem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque convallis ligula eget tellus lacinia tristique. Vivamus convallis tristique fringilla. Pellentesque pharetra, lacus tincidunt pulvinar facilisis

: 40th Street, Oakland, California, United States
: 1-212-555555-1
  Mail is not sent.   Your email has been sent.