02 July 2009

More on CSS font sizes

Font sizes plays a huge role in every website. Because minimalistic sites are still popular, it shows how typography is more than powerful than you would think.

The most common font sizes being used are: 9, 10, 12, 14, 16, 18, 24, 36. These are normally in pixels. Other formats available are: pt, in, cm, mm, pc, em, ex and %.

But that's not where it ends. You can also use a relative value: 'smaller' or 'larger'. This will make the font about 25% smaller or bigger.

Furthermore, there is still more options for values you can use: xx-small, x-small, small, medium, large, x-large, xx-large.

Take care! Tjorriemorrie

No comments:

Post a Comment