make grid column width take up fit-content code example Example: css grid full width row .child-item { grid-column: 1 / -1; }