The css equivalent of
a small and stupid log of fur
Layout Components
Containers
A container may be any element with a .container class. It adds padding to all sides.
I am a container
Columns
You can create a .columns element and add as many .column children you want
inside, and they will alway span equal width. This is all possible thanks to flexbox.
.column
.column
.column
The .columns class comes with the -unpadded modifier to remove default padding.
.column
.column
You may nest a .columns container inside a .column and it will take the width of the parent column
and make equal width children. It’s a good idea to add the -unpadded modifier to the nested .columns
element to lessen padception.
.column
I am
nested
Ignore me.
Grid
Please consider learning CSS Grid. But if that’s not your
cup of tea, you can use the grid system included.
.-one
.-eleven
.-two
.-ten
.-three
.-nine
.-four
.-eight
.-five
.-seven
.-six
.column
.-twelve
By adding a modifier -#{number} that column will span that many columns in a 12 column max grid.
Columns with no modifier classes will span the remaining space to fill the grid.