Componente de resumo com HTML e CSS

Solution retrospective
Fique a vontade para deixar seu comentário <3
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Shalom2935
hello well done completing this challenge. I think those tips might help you improve your code:
- this is the magic formula whenever you want to center a div whether it is horizontally or vertically:
body { display: flex; justify-content: center; align-items: center; }
the margin you gave will prevent the site from being responsive.
- giving your main element a max-width is great but it is for no use if you don't add a width property.
main{ width:80%; max-width:416px; }
Hope my comment will be useful, happy coding.
Join 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