Flex-box and Normal Css

Solution retrospective
Any feedback please..
Please log in to post a comment
Log in with GitHubCommunity feedback
- @pikapikamart
Hey, I see that you are aligning your container at the center right? Well what you could do is that, you could make the declaration in the body tag be
justify-content: center; align-items: center
This way it will be centered. But if you don't want this approach you could change your
.container
class, remove theleft
property and change your margin tomargin: 0 auto
this way, your container will be centered since you specified the width of it ^^
Join 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