Design comparison
SolutionDesign
Solution retrospective
...
Community feedback
- @Gaston-RecaldePosted almost 2 years ago
Hi, the final design is well done.
To center the component, you already have the display: flex in the body, it would be enough to add the properties align-items: center; justify-content:center; flex-direction: column-reverse; (since in the html you have the attribution first and then the component).
Remember that for it to work you must place the height: 100vh; in the body so that it takes the full height of the screen.
Greetings and I hope my advice will serve you.
Marked as helpful0@Novadior1kPosted almost 2 years ago@Gaston-Recalde thank you so much! I get really confused when it comes to centering and stuff.
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