Rows and Columns Examples

WIDTH: RESIZE ME

About

 

This page was made to demonstrate how the row and column stylings work on Allsteeloffice.com. 🤯

Column Widths
The columns are divided in widths of 12, aka a row takes up the width of 12 columns. If you go over 12 columns, then the column will default to the next row. This 12-column layout/grid is a standard used by libraries like Bootstrap. 

Ex. A row with columns 6-6 would give a row 2 columns that take up half the row, 6/12 = 50%.

Ex. A row with columns 4-4-4 would give a row 3 columns that take up a third of the row, 4/12 = 33%

The widths are just using fractions that go up to 12! 😀

 

Breakpoints
To understand how the columns work, we first need to understand the breakpoints. 🤔

I like to think of the site having 4 different layouts.

We have SMALL which is any browser width less than or equal to 576px. 
   » This formatting would be designed for devices like cell phones. 📱

We have MEDIUM which is any browser width more than 576px and less than 1024px. 
   » This formatting would be designed for devices like tablets or chromebooks.

We have LARGE which is any browser width more than 1024px and less than or equal to 1640px. 
   » This formatting would be designed for devices like laptops or smaller monitors. 💻

Lastly, we have MAX which is any browser width more than 1640px. 
   » This is formatted using the large width, but with grayed out margins or "gutters" added on the left and right sides of the website. 
   » This formatting would be designed for regular or ultrawide monitor displays. 🖥

 

Officially CSS-wise, the site has 6 stylings for columns, but 3 of them are less commonly used. The specifics of each from largest to smallest are as follows:

XXLarge: min-width: 102.5em;
XLarge: min-width: 75em;
Large: min-width: 64em;
Tablet: min-width: 48em;
Medium: min-width: 36.0625em;
Small: Everything smaller than medium

 

Styling Rule of Thumb

Allsteel/Images/Test/ColumnsStylingWidthGraphic

 

Contents
Large
Medium
Small
Combined Widths
Row/Column-ception

 

LARGE

Once these are "<1024px" the rows will take up the full width, ">=1024px" will stay in columns.

large-12 = medium-12 = small-12

large-6 = medium-12 = small-12

large-4 = medium-12 = small-12

 
 
^ Back to Top ^

 

ROW

COLUMNS LARGE-12

ROW

COLUMNS LARGE-6
COLUMNS LARGE-6

ROW

COLUMNS LARGE-4
COLUMNS LARGE-4
COLUMNS LARGE-4

ROW

COLUMNS LARGE-3
COLUMNS LARGE-3
COLUMNS LARGE-3
COLUMNS LARGE-3

ROW

COLUMNS LARGE-1
COLUMNS LARGE-10
COLUMNS LARGE-1

ROW

COLUMNS LARGE-2
COLUMNS LARGE-8
COLUMNS LARGE-2

ROW

COLUMNS LARGE-3
COLUMNS LARGE-6
COLUMNS LARGE-3

ROW

COLUMNS LARGE-5
COLUMNS LARGE-7

ROW

COLUMNS LARGE-7
COLUMNS LARGE-5

ROW

COLUMNS LARGE-4
COLUMNS LARGE-8

ROW

COLUMNS LARGE-8
COLUMNS LARGE-4

ROW

COLUMNS LARGE-3
COLUMNS LARGE-9

ROW

COLUMNS LARGE-9
COLUMNS LARGE-3

MEDIUM

Once these are "<576px" the rows will take up the full width, ">=576px" will stay in columns.

large-12 = medium-12 = small-12

large-6 = medium-6 = small-12

large-4 = medium-4 = small-12

 
 
^ Back to Top ^

 

ROW

COLUMNS MEDIUM-12

ROW

COLUMNS MEDIUM-6
COLUMNS MEDIUM-6

ROW

COLUMNS MEDIUM-4
COLUMNS MEDIUM-4
COLUMNS MEDIUM-4

ROW

COLUMNS MEDIUM-3
COLUMNS MEDIUM-3
COLUMNS MEDIUM-3
COLUMNS MEDIUM-3

ROW

COLUMNS MEDIUM-1
COLUMNS MEDIUM-10
COLUMNS MEDIUM-1

ROW

COLUMNS MEDIUM-2
COLUMNS MEDIUM-8
COLUMNS MEDIUM-2

ROW

COLUMNS MEDIUM-3
COLUMNS MEDIUM-6
COLUMNS MEDIUM-3

ROW

COLUMNS MEDIUM-5
COLUMNS MEDIUM-7

ROW

COLUMNS MEDIUM-7
COLUMNS MEDIUM-5

ROW

COLUMNS MEDIUM-4
COLUMNS MEDIUM-8

ROW

COLUMNS MEDIUM-8
COLUMNS MEDIUM-4

ROW

COLUMNS MEDIUM-3
COLUMNS MEDIUM-9

ROW

COLUMNS MEDIUM-9
COLUMNS MEDIUM-3

SMALL

These will always stay in columns with the respective widths.

large-12 = medium-12 = small-12

large-6 = medium-6 = small-6

large-4 = medium-4 = small-4

 
 
^ Back to Top ^

 

ROW

COLUMNS SMALL-12

ROW

COLUMNS SMALL-6
COLUMNS SMALL-6

ROW

COLUMNS SMALL-4
COLUMNS SMALL-4
COLUMNS SMALL-4

ROW

COLUMNS SMALL-3
COLUMNS SMALL-3
COLUMNS SMALL-3
COLUMNS SMALL-3

ROW

COLUMNS SMALL-1
COLUMNS SMALL-10
COLUMNS SMALL-1

ROW

COLUMNS SMALL-2
COLUMNS SMALL-8
COLUMNS SMALL-2

ROW

COLUMNS SMALL-3
COLUMNS SMALL-6
COLUMNS SMALL-3

ROW

COLUMNS SMALL-5
COLUMNS SMALL-7

ROW

COLUMNS SMALL-7
COLUMNS SMALL-5

ROW

COLUMNS SMALL-4
COLUMNS SMALL-8

ROW

COLUMNS SMALL-8
COLUMNS SMALL-4

ROW

COLUMNS SMALL-3
COLUMNS SMALL-9

ROW

COLUMNS SMALL-9
COLUMNS SMALL-3

COMBINED WIDTHS

Multiple columns below can be added as CSS classes so you can have different widths respectively on desktop, tablet, and mobile.

 
 
^ Back to Top ^

 

ROW

COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)
COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)
COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)
COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)

ROW

COLUMNS 
LARGE-2 
MEDIUM-1 
(SMALL-12 optional)
COLUMNS 
LARGE-8 
MEDIUM-10 
(SMALL-12 optional)
COLUMNS 
LARGE-2 
MEDIUM-1 
(SMALL-12 optional)

ROW

COLUMNS 
LARGE-6 
MEDIUM-12 
(SMALL-12 optional)
COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)
COLUMNS 
LARGE-3 
MEDIUM-6 
(SMALL-12 optional)

ROW

COLUMNS 
(LARGE-3 optional) 
MEDIUM-3 
SMALL-6
COLUMNS 
(LARGE-3 optional) 
MEDIUM-3 
SMALL-6
COLUMNS 
(LARGE-3 optional) 
MEDIUM-3 
SMALL-6
COLUMNS 
(LARGE-3 optional) 
MEDIUM-3 
SMALL-6

ROW - However, you can run into some styling errors when your column heights don't match in the same rows.

COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:100px
COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:120px
COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:100px
COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:100px
COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:100px
COLUMNS 
LARGE-3 
MEDIUM-4 
SMALL-6
height:100px

Row/Column-ception

Rows and Columns can also be placed within each other, this is useful if you wanted something like a grid that has whitespace on the outside.

 
 
^ Back to Top ^

 

ROW

COLUMNS 
LARGE-1 
 

COLUMNS 
LARGE-10 
 

INNER ROW

INNER COLUMNS 
MEDIUM-4 
SMALL-6
INNER COLUMNS 
MEDIUM-4 
SMALL-6
INNER COLUMNS 
MEDIUM-4 
SMALL-6
INNER COLUMNS 
MEDIUM-4 
SMALL-6
INNER COLUMNS 
MEDIUM-4 
SMALL-6
INNER COLUMNS 
MEDIUM-4 
SMALL-6
COLUMNS 
LARGE-1