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 trialSwan The Human
Full Stack JavaScript Techdegree Student 19,338 PointsWhat does the font-size default to if you don't declare it in the stylesheet?
In this specific video, Anwar selected the 'html' in the stylesheet and set the font-size to 1.25em. So at this point, anything referenced with the 'rem' unit value would be relative to the original 1.25em. I am just curious as to what the default value is/ what would happen if the 1.25em value isn't declared for the html tag. Thanks!
1 Answer
Steven Parker
231,248 PointsThe default font size depends on the browser, but typically it is 16px.