grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); code example
Example 1: repeat autofill css grid minmax
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
Example 2: grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-template-columns: repeat( 12, minmax(250px, 1fr) );