You can use the gutter property of row as grid spacing we recommend set it to 16 8n px n stands for natural number.
Design grid responsive gutter.
The design starts with a certain number of columns typically 12.
Columns are the foundational building blocks of a grid and the space between the columns is commonly referred to as.
Material design provides responsive layouts based on the following column structures.
Each breakpoint range determines the number of columns and recommended margins and gutters for each display size.
Layouts using 4 column 8 column and 12 column grids are available for use across different screens devices and orientations.
Resulting in a 30px gutter between columns plus 15px to the left and right of the grid.
You can use a array to set vertical spacing horizontal vertical 16 xs.
Some systems increase the gutter width as you increase in device width but it s also okay to keep it fixed.
The responsive grid focuses on consistent margin and gutter widths rather than column width the simple version of how it works is this.
The most common elements of a grid system are columns margins and gutters.
Gutters are the space between the columns.
The standard bootstrap grid is a 12 column layout with a 15px margin on each side of the column.
You can set it to a object like xs.