Design comparison
Community feedback
- @JMwiraPosted 9 months ago
well done dear @Shahil. i just have a suggestion regarding centering the content of the body section at the center of the screen in both x and y axis. if you are good with tailwind css you can apply justify-center and items-center style to the container that's containing the image and the text that is on its right side. if you just want to do it with css i suggest you apply the margin-left:auto and vertical-align: middle style. besides that, here is another way you can solve it .container{ display: flex; justify-content: center; /* Align horizontal / align-items: center; / Align vertical */ } wish you all the best
1@sliyarliPosted 9 months agoThanks for your kind comment, @JMwira. I will use this useful trick when I start using Tailwind CSS!
0
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