Semantic-UI grid examples

Basic grid layouts to get you familiar with building within the Semantic-UI grid system.

Three equal columns

Get three equal-width columns starting at desktops and scaling to large desktops. On mobile devices, tablets and below, the columns will automatically stack.

.column
.column
.column

Three unequal columns

Get three columns starting at desktops and scaling to large desktops of various widths. Remember, grid columns should add up to sixteen for a single horizontal block. More than that, and columns start stacking no matter the viewport.

.four .wide .column
.eight .wide .column
.four .wide .column

Two columns

Get two columns starting at desktops and scaling to large desktops.

.ten .wide. column
.six .wide .column

Full width, single column

No grid classes are necessary for full-width elements.

Two columns with two nested columns

Per the documentation, nesting is easy—just put a row of columns within an existing column. This gives you two columns starting at desktops and scaling to large desktops, with another two (equal widths) within the larger column.

At mobile device sizes, tablets and down, these columns and their nested columns will stack.

.ten .wide .column
.eight .wide .columnn
.eight .wide
.six .wide .column

Mixed: mobile and computer

The Semantic grid system has three tiers of classes: mobile (phones), tablet (tablets), computer (desktops and larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.

Breakpoints are 768px and below for mobile, 768-992px for tablet and 992px+ for computer.

In these cases below, we'd like to recommend you to change size of your viewport or use right devices for responsiveness experience.

.ten .wide .column .computer .only
.six .wide .column .computer .only
.column .mobile .only
.eight .wide .column .mobile .only
.column .computer .only
.column .computer .only
.column .computer .only
.column .mobile .only
.column .mobile .only
.column .mobile .only
.column
.column

Mixed: mobile, tablet, and computer

.ten .wide .column .computer .only
.six .wide .column .computer .only
.column .tablet .only
.column .tablet .only
.column .mobile .only
.eight .wide .column .mobile .only
.column .mobile .only
.column .mobile .only
.column .mobile .only
.column .computer .tablet .only
.column .computer .tablet .only
.column .computer .tablet .only

Offset, push, and pull resets

Semantic-UI's currently not support offset, push, pull for columns. Though, we can simply apply hidden attribute to a column for offsetting purpose.

In the case below the second column is hidden itself.

.six .wide .column
.six .wide .column