This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Alexandre Lordelo
Posted Aug 21 - Read on Facebook

Hey guys,

Is it possible to set font size = font height?|

Ex: I set a 100px font, and the height of it (excluding line gap/leading) would be 100px.

9 Comments

Alexandre Lordelo

thanks Brian! Ivo never used CSS in Framer. If I want to change the line height of a layer, I just copy the code bellow a text.layer?

Alexandre Lordelo

doesn't framer have a line.height property?

Brian Williams

You set the css on the layer you want to affect. Then just use css attributes/ values. see below

Tiffany Kosa

Go into photoshop to figure out what font size is roughly 100px since font size is all about ems.

Tiffany Kosa

Alexandre Lordelo

Thanks a lot Tiffany Kosa! I needed to do in an automated way... But yeah, that is certainly a workaround!

Tiffany Kosa

You only need to do it once. 100px will be different for every font face.

Read the entire post on Facebook