Design comparison
SolutionDesign
Community feedback
- @saul-gustavoPosted 2 days ago
Hello, I saw your code and I understand what you did, I recommend that you use a main with a div.container that contains the cards, and to center the content and have an appropriate width, put a max-width to the body and a display flex to center the cards:
body { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
Good job!! Happy Coding!!
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