Precise alignment
Good evening!
Annoying alignment question ...
Why isn't my
.title
hugging the lime border like the .black-box
is doing?
Sat with this for an hour now. Pulling mye hair!
https://codepen.io/amarlong/pen/JjaYeBP?editors=11004 Replies
Remove:
Change:
To:
& the green will hug the black.
i think it's just a font thing so you would need to play with letter-spacing
It is the width of the content that causes the slight misalign on the right. The larger offset on the left & top are
margin
s.... I forgot that I changed the direction of the text.
It fixed it with
margin-inline-start
.
So much energy spent on such a small thing.
š®āšØ
Thanx guys!