I would like to apply transformations on specific letters in a word.
In order to make my css transform
property working, I'm forced to set display:inline-block;
to my spans elements.
Unfortunately, as soon as I change from inline to inline-block, the width between my letters is changing.
Here's a code pen to illustrate my issue : https://codepen.io/michaelgrc/pen/XWNpaJd
I tried to play width the parent font-size to 0, with the space-wrap property, width the letter-spacing property, it doesn't work.
Does anyone have an idea ? Thank you very much
EDIT : the font-kerning property only allows me to have my first word like the second. But I want the opposite : I want my second word to look like the first.