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 trialSean Flanagan
33,235 PointsWhere does 1.6 pixels come from?
Hi.
I'm not sure where 1.6 pixels comes from (about 5-6 minutes into the video). I would appreciate some clarification please.
Thanks in advance
Sean
2 Answers
Darrell Osborne
23,146 PointsAssuming that you are actually asking about 1.6 em (vs. pixels as asked in your question), 1.6 is the equivalent em value of 26px based on the body font-size of 16px. As noted in the comment next to that line of code, 26px was divided by 16px in order to calculate what the em unit of measurement would be.
Hopefully that helps.
Sean Flanagan
33,235 PointsIt does. Thanks.