social link card using flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @OrnellaSablic
I think you did a good job with your code! I suggest you use grid or flexbox to center the main container, instead of using the margin property. I leave you some examples:
With flexbox:
main { display: flex; justify-content: center; }
With grid:
main { display: grid; place-content: center; }
Greetings!
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