2.5 Working With the minmax() Function
In the examples we’ve built so far, the grid tracks always had fixed sizes. They were always 1rem or 1fr or 25%. But in this age of responsive design, there are situations when you might need to set a minimum and a maximum size for a particular track.
Thankfully, we can do that with the
minmax() function. So let’s see how it works.