Design comparison
SolutionDesign
Solution retrospective
Hello fellow developers , i have a doubt regarding this project . Which is the correct way to align an image and text in a row , i used flexbox to achieve this in this project, but everytime i do it, the text is aligned at the top and i want to aligned at the center vertically, i have tried using align-items : center
but it didn't worked properly, so i used padding to align the text. Is this the correct way to do that? or is there any other way to achieve this?
Community feedback
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