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 trial
Colin Marshall
32,861 PointsCSS font sizes
I remember watching one of the videos, either in the CSS section or one of the web design projects, that gave a strategy for choosing font sizes for headers and body text. I couldn't find it in my notes.
It was something along the lines of that the header sizes should be multiples of the body font size. Can anybody help me out here?
Thanks!
4 Answers
James Barnett
39,199 PointsIt sounds like you are talking about typographic scale, maybe these resources will point you in the right direction.
- Article on typographic scale
- typograhic scale calculator
Stu Cowley
26,287 PointsHey Colin
Maybe have a look in the CSS Foundations Deep Dive under Web Typography.
It may even be the below video
Colin Marshall
32,861 PointsThanks for this. I did check through those videos earlier and didn't find exactly what I was looking for with the difference between the sizes. I'm still looking though.
I just realized that what I'm looking for might have been in the old CSS videos. They updated CSS Foundations sometime in the last year.
Guil Hernandez
Treehouse TeacherHey Colin Marshall, see James Barnett's comment about the Typographic Scale. I believe that is what you are referring to.
Stu Cowley
26,287 PointsI reckon I know the ones you're speaking of.
Guil Hernandez may be able to tell. He's pretty good at replying back to Tweets.
Colin Marshall
32,861 PointsThanks everybody! The Typographic Scale is exactly what I was talking about.
Guil Hernandez was this discussed in one of your CSS videos? (which are awesome btw!)
Nachiket Kumar
3,590 PointsNachiket Kumar
3,590 PointsTo add to James' resources, these might be helpful too:
Nachiket Kumar
3,590 PointsNachiket Kumar
3,590 PointsFor some reason I'm not being able to edit my comment, but one more: