Layout
Spacing elements
The reason we use this method rather than padding or margins is so we can be more consistent across the entire website.
It also gives the ability to easily change spacing rules across the entire website and it is clearer where what spacing is used.
Page layout
The total row width is controlled by the container element that wraps it all.
For example by having 3 elements that span 4 columns we can create a layout of 3 columns (3 x 4 is 12).
The possibilities are endless, you can make it as complex as you want.
Gutter and gap sizes
In the SML class naming the word gutter defines the width between columns, gap is used to define the height between rows.
In the variable naming we only have gap sizes, those values are used for both the gutter and gap sizes.
The framework also comes with gap-s and gap-l for tighter and wider spaced columns.
Below an example with large gaps and gutters, and with small gaps and gutters.