CSS GRID, repeat() function, auto-fit and maxmin parameters,
Design comparison
Solution retrospective
I used css grid, this is the first time i used css grid in a project, so if you know a better way to make the same project I'll appreciate any feedback...
Community feedback
- @RayaneBengaouiPosted over 3 years ago
Hello Luiggy Macias,
Congrats for completing the challenge ! 🙂
For this project using
display: flex
rather thandisplay: grid
might be easier. Because you have a container with 3 cards that are horizontally aligned and then, for the mobile view, they are vertically aligned. So by modifying the propertyflex-direction: row
toflex-direction: column
you can easily swap from one way to another.Overall, well done for the challenge and happy coding ! 😃
0@macluiggyPosted over 3 years ago@RayaneBengaoui Thnak you for your feedback Rayan, i appreciate
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