Welcome to the Treehouse Community
Looking to learn something new?
Is 1 em always 16 pixels?
The lessons stated to convert pixels to ems in order to have responsive fonts. It stated that ems are always a fraction of the default pixel size. So, is this default size always 16 and do we always divide by 16 to get the right measurements?
Charles Smith7,575 Points
From this stackoverflow question, you can see that 1em is not 16px, at least in 2013 when the answer was given.
For this reason, you might want to do as the question suggests - set a body font to 16px, and then your em's will be relative to that. You could also use a "normalize" stylesheet to set a baseline across browsers.
Andre Kucharzyk4,479 Points
That makes no sense whatsoever. Whats the point of using EMS if i set stiff 16px value in body, as a deafult font size. How is it responsive then?