I'd like to apply transform
effects on the letters of a word. So I surrounded each letter with a span
element. Also, transformations are not visible on inline
element. So I set display: inline-block
to my spans but as soon as I'm doing that, the font-kerning is broken.
I tried several combinations implying display: flex
, white-space: nowrap
, font-kerning: normal
, and others but in vain.
Is there a way to preserve font-kerning when my span elements are not displayed inline
?
Here's a codepen that illustrates my issue : https://codepen.io/michaelgrc/pen/PoerMrd
Thank you very much