Design comparison
SolutionDesign
Solution retrospective
Is using two css-grid containers
the best way to center the content using css-grid
?
(I am new to using css-grid)
Community feedback
- @MikkybeardlessPosted 9 months ago
nice work Janabe. Grid is best used when you have sections or relatively more than one content in different containers in your body. With just a single container(box), you can give you container a margin left and right auto to center it or use display flex, justify-content center
Marked as helpful1
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