Submitted over 1 year ago
I used HTML and CSS to complete this NFT - Preview - Card challenge
@razeeth11
Design comparison
SolutionDesign
Community feedback
- @IryDevPosted over 1 year ago
Hey, well done for completed this challenge😁
I have some suggestions to help you to improve your solution :
- your card seem to not be correctly centered
- Give the body a min-height of 100vh
- Add the property , display: flex; justify-content: center; align-items: center; to make the card center on the vertical axis and horizontal axis
- Put the main content of your website into the <main>tag in order to improve accessibility
HTML :
<body> <main> The main content of your website </main> </body>
CSS :
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
I also make pull requests on your Github repo so you can merge it if the changes suit you
I hope you'll find this helpful, and your solution is really good 😄
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