css grid auto wrap fr code example
Example 1: grid repeating auto columns
/* To achieve wrapping, we can use the auto-fit or auto-fill keywords. */
grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
Example 2: css grid auto wrap
this one will provide a more responsive behavior as you can specify the
minimum size to start wrapping and max size so it grows and adapts to
bigger screens
grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));