Global styles, such as typography, colors, grid, etc.
Grid
Brandaris includes a powerful mobile-first grid system for building layouts of all shapes and sizes. It’s based on a 12 column layout and has multiple tiers.
How it works
At a high level, here’s how the grid system works:
There are three major components: containers, rows, and columns.
Containers—.container for fixed width or .container-fluid for full width—center your site’s contents and help align your grid content. You can use it in combination with .container-full for a conatiner without side padding.
Rows are horizontal groups of columns that ensure your columns are lined up properly.
Content should be placed within columns, and only columns may be immediate children of rows.
Column classes indicate the number of columns you’d like to use out of the possible 12 per row.
If you want three equal-width columns, you can easily use .col-sm.
Column widths are set in percentages, so they’re always fluid and sized relative to their parent element.
Columns have horizontal padding to create the gutters between individual columns.
There are five grid tiers, one for each responsive breakpoint: extra small, small, medium, large, and extra large.
Grid tiers are based on minimum widths, meaning they apply to that one tier and all those above it (e.g., .col-sm-4 applies to small, medium, large, and extra large devices).
Auto-layout columns
Add any number of auto sizing columns to a row. Let the grid figure it out.
Alignment
Add classes to align elements to the start or end of a row as well as the top, bottom, or center of a column.
Start
Align all columns to the start of the .row. This is default.
Center
Align all columns to the center of the .row.
End
Align all columns to the end of the .row.
You can also use different alignments for different viewport sizes:
Top
Align all columns at the top of the .row. This is default.
Middle
Align all columns in the middle of the .row.
Bottom
Align all columns to the bottom of the .row.
Full
Stretch all columns for equal, full, height in the .row.