Column

Display your content in multiple text columns without having to split it in several containers.

Column

Display your content in multiple text columns without having to split it in several containers.

Usage

Add one of the .uk-column-* classes to an element to display its inline content in multiple columns.

ClassDescription
.uk-column-1-2Display the content in two columns.
.uk-column-1-3Display the content in three columns.
.uk-column-1-4Display the content in four columns.
.uk-column-1-5Display the content in five columns.
.uk-column-1-6Display the content in six columns.
<div class="uk-column-1-2"></div>

Responsive

UIkit provides a number of responsive column classes. Basically they work just like the usual column classes, except that they have suffixes that represent the breakpoint from which they come to effect.

ClassDescription
.uk-column-1-2@s to .uk-column-1-6@sOnly affects device widths of 640px and higher.
.uk-column-1-2@m to .uk-column-1-6@mOnly affects device widths of 960px and higher.
.uk-column-1-2@l to .uk-column-1-6@lOnly affects device widths of 1200px and higher.
.uk-column-1-2@xl to .uk-column-1-6@xlOnly affects device widths of 1600px and higher.
<div class="uk-column-1-2@s uk-column-1-3@m uk-column-1-4@l"></div>

Divider modifier

To display a vertical line between columns, add the .uk-column-divider class.

<div class="uk-column-1-2 uk-column-divider"></div>

Span all columns

To have an inline element span the whole width of the columns, add the .uk-column-span class to the inner element.

<div class="uk-column-1-2"><p class="uk-column-span"></p></div>