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 trialvy le oai
4,697 PointsDeep understanding of line-height
I tried to read mozilla docs and a few things in w3c docs (so long) and all of what i temporarily conclude is that line-height will determine the height of lines of text. For example, a paragraph has font-size: 30px. If we determined its line-height to 30px, that means each line of text inside the paragraph would have a height of 30px enough for presenting the text.
I just don't know if what I thought is completely true. What do you understanding about this? Thank you very much!
1 Answer
Adam Rolfson
2,132 PointsHi Vy, I found a place that gave a great overview of what the line height does. If you read all the way to the bottom they even show you a few examples of what the line height does.