Submitted over 3 years ago
Huddle-landing-page-with-a-single-introductory-section
@Kerdael
Design comparison
SolutionDesign
Solution retrospective
Hi guys ! Everything went well. Just one question : why do my icons get off centered if they are sized lower than 35 px wide and auto height ? Thanks for your feedback, cheers !
Community feedback
- @yasssuzPosted over 3 years ago
Hey Cedric, I have a solution!
You could use flexbox to align the icons, example:
a { display: flex; align-items: center; justify-content: center; } img { height: (the height you want); }
happy coding and if I was helpful please upvote my comment :)
1@KerdaelPosted over 3 years agoHi @Galielo-App ! I will try it out right now ! Thanks for your feedback :)
And it works . Great, thanks Galileo !
1
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