Originally posted on thehappybit.com
When designing using text, no matter if it's for print or the Web, one vital thing to do is to ensure that the design stays harmonious in every aspect.
The best way to do so is quite possibly using a so called typographic scale, which means giving text portions precise, regular and linear dimensions, based on the hierarchical relationships they hold with other text elements.
This has been long known, of course, and we're not bringing anything new to the cause.
But being the Web one of our domains, we felt like managing the typographic scale in CSS could be done better, and in an easier, sort of automat