@AlecANL
Posted
Hey natasha, I'm not expert but a try to help you, may use auto sizing column property in CSS grid.
More explicit for example:
grid-template-column: repeat(auto-fill,minmax(250px,1fr))
I'm not sure if that answer your questions, but if you want to read more.
and another example: codepen
I hope to help you.
@njohnson533
Posted
@AlecANL Thank you! I appreciate it. I kept at it after I submitted it and grid-template-columns: repeat(auto-fit, 300px); worked for me. I used display: flex in the body in the initial solution and that was the reason why the grid container wasn't being responsive. Once I took that out it worked.