Testimonial Grid Section with the help of grid and flex
Design comparison
Solution retrospective
How to make one column grid in 350px resolution? I've tried to make one column grid in 350px resolutions but the grid stays as it is as in desktop resolution even though I changed it, due to this I had to use flex box. Please help me out..
Community feedback
- @AgataLiberskaPosted over 3 years ago
Hi @akshaycrzy, did you just try to change
grid-template
property on the container? I copied your code into codepen just to try it out anddisplay: grid
worked after I commented out allgrid-column
andgrid-row
on the cards.If that wasn't it, let me know and I'm sure we'll be able to work it out :)
Generally though, it's a lot easier to start coding mobile first and only add media queries for larger screens - here's an article discussing this in detail
Hope this helps :)
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord