Design comparison
SolutionDesign
Community feedback
- @AkoToSiJeromeEhPosted 6 months ago
Hey ! Great work out here i just notice that social links component does not align on center , you are correct on using display :flex and adding justify-content but missing one of its properties that is align-items to horizontally align it on center by adding it on body together with a height you can achieve to position it on center. that's all happy coding !
body { display: flex; justify-content: center; // add this background: hsl(0, 0%, 8%); color: hsl(0, 0%, 100%); min-height: 100vh; // add this align-items: center; }
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