Before we get into the how to use susy let s talk about the importance of using a sass grid framework not a grid system.
Susy grid gutters.
Switching gutter widths at different breakpoints using susy next.
A single unitless number for columns will be treated as a slice of the parent grid.
Gutters are defined as a single width or fluid ratio similar to the native css grid column gap syntax.
You can also be more explicit and say of susy repeat 4 100px.
So that same span of 2 could include the internal gutter and one wide or both wider external gutters.
I am using and learning susy and noticed that when using fluid or magic container style the gutters scale along with the rest of the columns if the browser is resized.
Susy grid with susy breakpoint and fixed gutters.
You can use the key value pairs in this map to set your max width container column count columns and gutter width gutters.
All your grid config settings live in a map called susy.
On a grid with columns.
You can use the last keyword with after to remove the final margin.
That system is susy.
Border box which you can apply globally in susy with the border box sizing mixin.
You can collapse a gutter in foundation removing the margins and padding but then you can run into other issues.
Susy repeat 12 120px the shorthand of 4 will use the parent 120px column width.
Then you want to use inside static for your gutter position and some value for column width that can be used to calculate your gutters.
Using susy next how do i create a grid with fluid columns with fixed gutters.
A static gutter 1em wide.
I realize the language here is a bit confusing.
I am concerned that the sm.
How to remove gutter for first and last element of row in susy grid.
Scss last include span 1 of 4 last.
By default a grid span only spans the gutters between columns.
So a span of 2 includes 1 internal gutter narrow.
In some cases you want to span additional gutters on either side.
Span 2 of 12 set gutters 0 5em will override the global gutters setting for this one calculation.
Margin right is the gutter that susy has created for the grid.
Can t get susy version 2 to work.
Similar to columns gutters can use any valid css length unit or unitless numbers to define a relative fraction.
Fantastic article on suzy definitely need to dig into it more.
A fluid gutter half the size of a single fraction column.
Looks like susy handles this a lot better among other things.
But the grids in susy appear to be definitely more powerful especially the gutter positions.