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 trialstephen miller
5,907 Pointsvalues
How do you and nick (the other teacher ive been watching) know what values to use? You just say, "lets add a font-size here of 1.25em" or something like that, and i understand you've pre-made these measurements and color numbers for the video but how do you know which size to use for each element, they all seem to have their own unique number. in short i just want to know how you determined what looks good! Thanks! -Stephen
1 Answer
Ariel Aronica
6,646 PointsHere's a description of relative length units for CSS. Ems are relative to the current font size, so 1.25 em is .25 times larger than the default font size for the page. So they wanted it to be just a bit bigger than the default font.