Design comparison
SolutionDesign
Solution retrospective
Was it a good idea to go with the position absolute route to center it, or is there a better option?
Community feedback
- @truongmleonPosted almost 3 years ago
I agree with Aditya, CSS Flexbox is generally more useful. I suggest getting use to it as soon as you can. Nevertheless, position absolute is still okay! Your solution is quite nice, keep on learning!
Marked as helpful0 - @adityas24Posted almost 3 years ago
Hey Johnsey good job! It is always good to learn new tricks and techniques. But in 2022 flexbox and grids are mainly used for centering a block inside another block.
All the best 👍🙂
Marked as helpful0
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