Column width
—
Questions
How is column width calculated?
(canvas − 2 × outer margin − gutter × (columns − 1)) ÷ columns. The generator shows it to two decimal places, which is what Figma reports too.
Should columns be fixed or fluid?
Fluid, in almost every case. repeat(12, minmax(0, 1fr)) gives 12 equal columns that adapt to any container width. The fixed pixel value matters for your design file, not your CSS.
Why minmax(0, 1fr) instead of 1fr?
Because 1fr means minmax(auto, 1fr), and auto refuses to shrink below the content's intrinsic width. A long unbroken string then blows out the column. minmax(0, 1fr) lets it shrink properly.
See also the 1440px grid system and CSS breakpoints.