Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Code Challenge: line-height

In the Code Challenge I have a problem, do not understand the following exercise: "Use a unitless line height That is 1.5 times the paragraph's font size". I hope someone can explain. Thanks in advance.

4 Answers

Here is a great write up from the Grandfather of CSS - Eric Meyer

Best explanation I have ever read on the subject :)

Lo que James Barnett está diciendo es que a ** line-height ** sin unidades es uno sin unidad de medida en el extremo. i.e. px, em or %

A unitless line height means a line height without any unit such as px, em or %. Any questions?

I think I understand the meaning of "line-height", I do not understand how the question is asked. I'm sorry, is that my native language is Spanish, so far not had trouble understanding the exercises and videos. I hope I can, perhaps, ask the same question differently.