Design comparison
SolutionDesign
Solution retrospective
what i find diffcult is to center the content on the page. I just want to know if there is another way to center the content on the page instead of using flexbox.
Community feedback
- @JRS-DeveloperPosted over 2 years ago
There are a lot of ways to center it, but the best is flexbox, another way is using grid, you can put in the container:
.container { display: grid; place-content: center; }
0@Mohammedabbas7Posted over 2 years ago@JRS-Developer this is useful information. Thanks for that. I'm gonna test it right away
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