Design comparison
SolutionDesign
Community feedback
- @denieldenPosted almost 3 years ago
Hi Judith, Good job!
To center the card, give
flexbox
andheight
property at thebody
and remove all margin in.container
class. Flexbox aligns according to the size of the parent container.You can use the measure
vh
for the height ... Viewport Height manages the dimensioning of an element in relation to the height of the browser window.Do not forget to look at the report issues.
Happy coding :)
Marked as helpful1@judithasitiolPosted almost 3 years ago@denielden Thanks for the feedback! I'll be sure to keep that in mind :)
1
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