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 trialEvan Gatchell
5,878 PointsShort-hand Font property
font: 1em/1.5 Helvetica, Arial, sans-serif;
"In the font shorthand declaration above, ___ is the font-size value and ___ is the line-height value."
1em and 1.5 are wrong. Why?
4 Answers
Jacobus Hindson
14,429 PointsHi Evan,
Your 1.5 needs a measurement - px, pt, cm etc.
Manuel Miguel
1,139 PointsIn the font shorthand declaration above, 1em is the font-size value and 1.5_ is the line-height value.
Evan Gatchell
5,878 PointsSo 24px (assuming the parent element has a size of 16px) would be acceptable?
Jacobus Hindson
14,429 PointsYep sounds good to me...
Noah Lampron
4,186 PointsNoah Lampron
4,186 Pointsdidn't work for me?