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!
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
Bartlomiej ZabielskiCourses Plus Student 10,363 Points
@media video responsive typography video
I got a bit confused would appreciate help. In responsive typography video Mattox Shuler uses body 1.25em. In the media query he uses @media (max-width: 34em). He said that this would equal 34em x 16 px. But wouldnt this be 34 x 20? since the body is 1.25?
Jennifer NordellTreehouse Teacher
Hi there! You would be correct except that he isn't referring to the body. Here's the quote:
So at 544 pixels, we're gonna divide that number by 16, which is the default number for ems, and that's gonna give us 34 em.
When he references the "default" here, he is meaning the default font-size in pixels of the browser.
Hope this helps!