Gutters
The gutter styles handle the gaps between flexbox columns and rows. They can also be used for grids.
There are three types of gutter styles.
- Both horizontal and vertical gutters
This will set the--gapvariable to the specified value and set thegapstyle on an element. - Horizontal gutters
This will set the--gapvariable to the specified value and set thecolumn-gapstyle on an element. - Vertical gutters
This will set the--row-gapvariable to the specified value and set therow-gapstyle on an element.
The size of the gap is set with the gutter variables.
Combined imports
If you will use all of the gutter sizes then you can use the combined import file.
@import 'cacao-css/dist/gutter/combined-import.css';
Imports are available for all media query viewport sizes.
@import 'cacao-css/dist/gutter/3xs/combined-import.css';
@import 'cacao-css/dist/gutter/2xs/combined-import.css';
@import 'cacao-css/dist/gutter/xs/combined-import.css';
@import 'cacao-css/dist/gutter/sm/combined-import.css';
@import 'cacao-css/dist/gutter/md/combined-import.css';
@import 'cacao-css/dist/gutter/lg/combined-import.css';
@import 'cacao-css/dist/gutter/xl/combined-import.css';
@import 'cacao-css/dist/gutter/2xl/combined-import.css';
@import 'cacao-css/dist/gutter/3xl/combined-import.css';
@import 'cacao-css/dist/gutter/4xl/combined-import.css';
@import 'cacao-css/dist/gutter/5xl/combined-import.css';