KittyGiraudel / ama

Ask me anything!
43 stars 4 forks source link

Using calc to figure out bulletproof line-height #113

Closed supersimplenet closed 4 years ago

supersimplenet commented 4 years ago

Hi! I'm really impressed by your Corner ribbon with trigonometry post, since I tried to tackle the same issue, with no success, a few months ago.

I would like to know your opinion, on a much simpler formula I figure out to set optimal line-height, regardless of font-size: Codepen

KittyGiraudel commented 4 years ago

Hello! Thank you for the kind words. Your work on this line-height is pretty neat! Have you considered writing an article about it and how you figured it out?

supersimplenet commented 4 years ago

As a guest post on your blog? Sound goods to me :)

KittyGiraudel commented 4 years ago

Sounds nice. Feel free to get in touch at hugo.giraudel on Gmail. :)