Can you adjust the line height of single characters in a block of text?

Is there a way to transform a single character (specifically an emoji) in a block of text?

Here’s my design:
Screen Shot 2022-01-28 at 12.44.06 AM

And here’s how it looks like by default in Webflow:
Screen Shot 2022-01-28 at 12.44.17 AM

I’m trying to flip (using the transform) and bump it up a little. But neither is working :frowning:

Hi @gorinp do you mind sharing your read-only-link?

Here you go Angelika.

Wrap the emoji with a span, give it a class, style as desired. Boom.

1 Like

Thanks Jeff, but that doesn’t work. The only thing you can adjust this way is size and kerning.

My question is: can you change other parameters like transform or baseline shift?

You should apply inline-block to that span element and then you can transform or animate. As technically inline element doesn’t accept many CSS properties.

1 Like

Thank you Abirana! That did it :slight_smile: I didn’t know you could set spans to inline block.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.