Best unit for font-sizes in CSS

Alex picture Alex · Oct 30, 2011 · Viewed 12.5k times · Source

What are the advantages & disadvantages of each? em, px, % and pt ?

My current choice are percentages, the only reason is because I can globally change the font-size of all elements, just by modifying the font size on the root element (body)

Answer

Nitzan picture Nitzan · Nov 3, 2011

I would recommend EM — simply because I use Baseline CSS for my basic set up of forms, layout and most importantly type.

Can't recommend it enough : http://baselinecss.com/