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

Design

lihaoquan
lihaoquan
12,045 Points

Typography - Type Scale

I have a few questions regarding the sizes of type.

  1. Why should we use a type scale? ( I use type-scale as a tool to get scales )
  2. What good does it do?
  3. When should we use a type scale?

Please enlighten me, thank you.

2 Answers

Francesco Belvedere
Francesco Belvedere
15,206 Points

A type scale is used as a guide to set up the hierarchy of your type sizes. This is important so there is a clear difference between your headings (in web design H1–H6) and body copy. This allows the reader to be guided by headings and then read on if they are interested. It facilitates readability. You should always use a type scale.

It is a tool and proportional system that descends from the print industry.

Proportion is NOT arbitrary and the most famous proportional scale is the Golden Ratio — or 1 : 1.618. So what a type scale is trying to do is set up a good proportional system. Why not choose one from history that has stood up the test of time and set up your scales that way?

My favorite comes from Robert Bringhurst's book The Elements of Typographic Style.

http://www.amazon.com/Elements-Typographic-Style-Robert-Bringhurst/dp/0881792063 http://webtypography.net/3.1.1

On page 158 in the section on Shaping The Page he talks about the Golden Section and the Fibonacci sequence, He sets up a Type Scale as an example using a two-stranded Fibonacci series to suggest type sizes one might use.

The two sets of Fibonacci numbers are below. Each of the numbers that follows the previous has a Golden Ration proportion.

Strand 1 is : 5 • 8 • 13 • 21 • 34 • 55 • 89 . . . Strand 2 is : 6 • 10 • 16 • 26 • 42 • 68 • 110 . . .

He then suggests combining these two strands like a set of DNA so you get: A Type Scale of : 6 • 8 • 10 • 13 • 16 • 21 • 26 • 34 • 42 • 55 • 68 • 89 • 110 (in points)

You can essentially come up with any kind of scale that you want, but if there is not enough difference between scale numbers there will not be enough to separate out the difference between headings and readers might be confused.

Of course the Fibonacci Scale above would have to be translated to work on the web — perhaps using ems so it would be a responsive scale.

Its a mouthful but hope that helps.

Francesco //

lihaoquan
lihaoquan
12,045 Points

Thanks for the book suggestion, always wanted a book about typography.

Jason Campbell
Jason Campbell
9,822 Points

I think it is helpful when you are doing responsive design. If you make the body font size 16px for desktop and all your header and paragraph tags are in "em" then for mobile you could drop it down to 12px and all the font sizes will shrink automatically. Then you won't have to write a new rule for all of them.

Fore example:

body {font-size:16px;} p {font-size:1em;} h1 {font-size:2.2em;}

@media and (max-width:500px){ /* This will shrink all fonts */ body {font-size:12px;} }