
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Despite my long-term programming experience, I still need more page-proofing practices before diving deeper into frontend development.
What challenges did you encounter, and how did you overcome them?Flexboxes and viewport sizes could be helpful to align items properly. Here we put attribution info to the page bottom and center the card within the rest.
Flexboxes and viewport sizes could be helpful to align items properly. Here we put attribution info to the page bottom and center the card within the rest.
<div class="main"> <div class="content"> <div class="card"> #card content </div> </div> <div class="attribution"> #attribution content </div> </div>
.main { height: 100vh; display: flex; flex-direction: column; align-items: center; } .content { height: 100%; display: flex; flex-direction: column; justify-content: center; }
Community feedback
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