Design comparison
SolutionDesign
Community feedback
- @Youssef5107Posted 9 months ago
Hello, Maleyka
Congratulations on completing "ntf card component" challenge . I have some advices to help you improving it , add: display:flex;(to use flex properties) justify-content:center;(to center horizontally ) align-items: centre (to center vertically ) height: 100vh;(to make sure that the body take the whole page height) on the body to center the card, margin is not the best way to centre your div so you can delete the style(margin:100px auto) from your card div and use better the flex properties as it is more efficient on all screen sizes
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