Grid
DreamHost has multiple options to achieve the layouts we need to create.
We recommend custom CSS Grid as required by each use case, but also utilize a modified version of bootstrap grid for some projects.
Bootstrap grid
Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s structure consists of a .container
, .row
, and .col
.
12 column grid
For more specific grid requirements there is also a 12 column grid layout system.
.col-12
.col-6
.col-6
.col-3
.col-3
.col-3
.col-3
.col-2
.col-2
.col-2
.col-2
.col-2
.col-2
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
.col-1
12 column responsive modifiers
-xs
- extra small-breakpoint modifier <576px
-s
- small-breakpoint modifier ≥576px
-md
- medium-breakpoint modifier ≥750px
-lg
- large-breakpoint modifier ≥1050px
-xl
- extra large-breakpoint modifier ≥1280px
1
2
3