Grid Spacing
The responsive grid focuses on consistent spacing widths, rather than column width. Material design margins and columns follow an 8dp square baseline grid. Spacing can be 8, 16, 24, or 40 pixel wide.
Full-width
Full-width grids: use fluid columns and breakpoints to determine when a layout needs to change.
Centered Grid
Centered grids: use fixed columns and re-flow the layout when all columns (plus a defined margin) no longer fit on the screen.
Interactive
Below is an interactive demo that lets you explore the visual results of the different settings:
Auto Layout
The Auto-layout makes the items equitably share the available space. That also means you can set the width of one item and the others will automatically resize around it.
Material-UI Grid:
CSS Grid Layout:
Limitations
There is one limitation with the negative margin we use to implement the spacing between items.
Truncation should be conditionally applicable on this long line of text as this is a much longer line than what the container can support.
Truncation should be conditionally applicable on this long line of text as this is a much longer line than what the container can support.
Truncation should be conditionally applicable on this long line of text as this is a much longer line than what the container can support.