Using minmax() is an amazingly useful way to specify boundaries for the smallest and largest size a grid track can be. Let’s find out how to apply it.

 

minmax(100px, 500px);
minmax(100px, 4fr);

 

If we want to handle overflow problem, we can use min-content or max-content.