Mixin to add a design column spanning width to an element. This mixin is used in the auto generated Colspan CSS classes.
SCSS Usage
@include colspan($n, $bump:false)
And so, in SCSS:
Output
This mixin also inserts a CSS variable to the children of the element with the mixin; this allows for nesting. See Colspan#nesting.
You may want to span 2 columns and a gutter so the right hand edge of your element is against the next design grid column. For this you would use @include colspan(2, var(--inner-gutter));.