The spec describes it reserving space for the scrollbar and that makes sense since that s what a gutter ultimately is.
Css gutter bottom.
Sets this property to its default value.
The column gap property specifies the gap between the columns.
The scrollbar gutter property provides flexibility to determine how the space the browser uses to display a scrollbar that interacts with the content on the screen.
The browser calculates a bottom margin.
When columns are defined using values they ll use exactly those values and add any grid gap on top.
Negative values are allowed.
These can be created in css grid layoutusing the grid column gap grid row gap or grid gapproperties.
A riskier hack than it looks but with a few extra steps we can make almost perfect grid style gutters for flexbox.
Play it specifies a bottom margin in percent of the width of the containing element.
Read about length units.
Flexbox gutters and negative margins mostly solved one of the key advantages of css grid over flexbox is that grid came with the grid gap property which is now becoming just gap in future browser implementations.
We re going to introduce the fr or fraction unit.
You ll notice the grid above has been pushed to the right because it s now 99 99 wide plus the grid gaps.
One final improvement can be made to our simple grid and it will solve the width problem we just mentioned.
A container that reserves space for whatever is in it and separates it from other elements.
Default value is 0.
Play it auto.
Play it initial.
Specifies a fixed bottom margin in px cm em etc.