Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
The text alignment is not quite there. I have tried adjusting the font size as well as text-indent among other things but it's not quite right.
What specific areas of your project would you like help with?Any advice on how to align the text properly would be so welcome .
Community feedback
- @Harsh-Kumar-DwivediPosted 8 months ago
Hi @Souheib-Aloui ,
I think for
title
class you can try givingwidth: 17ch;
and fortext
classwidth: 19ch;
also givingmargin: 0 auto 8px;
to both the classes. You can adjust these values as per your requirements.Hope this helps !
Happy Coding !
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