Submitted about 3 years ago
single-price-grid-component-maste (Responsive)
@ahmed-seddiki
Design comparison
SolutionDesign
Solution retrospective
Hello ! Newbie in this world. My Question Is : How I Can Centre This Box Excatly ?
Community feedback
- Account deleted
Hi, nice one on completing the challenge, it looks pretty good.
- Flexbox pretty much handles everything and I think you have done it well with how the box is centered, the trick is to not to forget to give it a
height of 100vh
. A lot of people usually don't include that, resulting to the element not being centered vertically.
And there's a lot of other ways to center an element, & btw you are missing a
main
tag, it should always be included.Keep coding👍.
Marked as helpful1 - Flexbox pretty much handles everything and I think you have done it well with how the box is centered, the trick is to not to forget to give it a
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