Skip to content

24 ways to impress your friends

Vote up?

Gabe Hollombe

The way I like to use ems in my CSS is when I’m setting line-heights. For some reason, my eye really likes a line-height of anywhere between 1.2 and 1.4ems (depending on the circumstance).

I think it’s nice to set line-height this way because the line-height will always be in proportion to the size of your font.

Want to give it a try?

body {

line-height: 1.4ems;