I am attempting to replicate the layout shown in the final example of the image linked below using flexbox.
https://i.sstatic.net/KSaig.png
It seems that the align-items: baseline;
property works perfectly when the blocks contain only one line of text.
However, when the left and right items have different font sizes and line heights, using align-items: flex-end;
creates issues. While the edges align properly, the white space created by these differences looks unappealing especially without borders on the items.
I am looking for a comprehensive solution that does not involve JavaScript.
Thank you in advance.