Design comparison
SolutionDesign
Solution retrospective
I find the style difficult,can you help me with that? I'm unsure of the CSS @media
Community feedback
- @samd1aPosted over 2 years ago
Good work!
if you want to center your card in the page, you can use flexbox: remove the margin from your
.container
rule and adddisplay: flex; justify-content: center; align-items: center; min-height: 100vh; width: 100%;
Also you do not need to declare the font-family for each tag, a simple
font-family: 'Outfit', sans-serif
inside of abody
rule would work, allowing for the font to be easily changed in the future!Hope I can help a little bit! Keep coding.
Marked as helpful0
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