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

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
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
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
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
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
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
ROW
COMBINED WIDTHS
Multiple columns below can be added as CSS classes so you can have different widths respectively on desktop, tablet, and mobile.
ROW
LARGE-3
MEDIUM-6
(SMALL-12 optional)
LARGE-3
MEDIUM-6
(SMALL-12 optional)
LARGE-3
MEDIUM-6
(SMALL-12 optional)
LARGE-3
MEDIUM-6
(SMALL-12 optional)
ROW
LARGE-2
MEDIUM-1
(SMALL-12 optional)
LARGE-8
MEDIUM-10
(SMALL-12 optional)
LARGE-2
MEDIUM-1
(SMALL-12 optional)
ROW
LARGE-6
MEDIUM-12
(SMALL-12 optional)
LARGE-3
MEDIUM-6
(SMALL-12 optional)
LARGE-3
MEDIUM-6
(SMALL-12 optional)
ROW
(LARGE-3 optional)
MEDIUM-3
SMALL-6
(LARGE-3 optional)
MEDIUM-3
SMALL-6
(LARGE-3 optional)
MEDIUM-3
SMALL-6
(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.
LARGE-3
MEDIUM-4
SMALL-6
height:100px
LARGE-3
MEDIUM-4
SMALL-6
height:120px
LARGE-3
MEDIUM-4
SMALL-6
height:100px
LARGE-3
MEDIUM-4
SMALL-6
height:100px
LARGE-3
MEDIUM-4
SMALL-6
height:100px
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.
ROW
LARGE-1
COLUMNS
LARGE-10
INNER ROW
MEDIUM-4
SMALL-6
MEDIUM-4
SMALL-6
MEDIUM-4
SMALL-6
MEDIUM-4
SMALL-6
MEDIUM-4
SMALL-6
MEDIUM-4
SMALL-6
LARGE-1