Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Frontend Mentor - Project tracking intro component

@Madflows

Desktop design screenshot for the Project tracking intro component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Open to suggestions!!!

Community feedback

Juljus777 30

@Juljus777

Posted

To fix the problem, where text, with letter spacing, dosen't get centered correctly inside an element, you could wrap the text inside a span tag and style it with margin-right:-"letter-spacing of the text".This would fix the text centering inside the (NEW) element.

Also using either margin-left or margin-right depends on the text element "direction" property. So if text runs from rtl (right to left) you will want to use -margin-right and when it runs from ltr you will want to use -margin-left instead.

0

@Madflows

Posted

@Juljus777 I forgot to add the font to my css... Everything is actually okay

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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