Why doesn’t the `minmax()` function work if we have a `width` property is defined on the grid container?


#1

Question

Why doesn’t the minmax() function work if we have a width property is defined on the grid container?

Answer

We can actually use the minmax() function to define column widths on a fixed width grid. However, if the width (or height) of the grid is fixed then it doesn’t make much sense to define a range that a column (or row) can expand or shrink through because the column (or row) of this grid will also be fixed.