I am facing an issue with aligning my animated links to the right. Currently, I am using display: inline-flex
, which works well but doesn't align the links properly. I have tried using float: right
for alignment, but I feel there must be a better way to achieve this.
I experimented with justify-content: flex-end;
but it doesn't seem to work with inline-flex
. I am open to switching to display: flex
, but the problem is that it stretches my links to 100% width, which is not desirable. I couldn't find a solution to prevent this from happening.
I'm currently stuck on how to best handle this situation. If anyone has any insights or suggestions on how to resolve this issue effectively, I would greatly appreciate it. You can view the link styling in action on this CodePen:
Link: https://codepen.io/moy/pen/rNjbrYL
Thank you in advance for your help!