Saturday, October 18, 2008

The 62.5% Solution

How to size text using ems | Clagnut : Typography : CSS techniques

body {font-size: 62.5%; /* Resets 1em to 10px */


Saw this technique used in the CSS for a WordPress theme but didn't know just how it was setting 1em to 10px. This explains it.

No comments: